Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.996 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 665 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java |
2 | 8 | 688 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java |
| ||||
for (int i = 0; i < selected.length; i++) { IPath curr = selected[i]; IResource resource = root.findMember(curr); if (resource instanceof IContainer) { res.add(newCPLibraryElement(resource)); } } return (CPListElement[]) res.toArray(new CPListElement[res.size()]); |
| ||||
for (int i = 0; i < selected.length; i++) { IPath curr = selected[i]; IResource resource = root.findMember(curr); if (resource instanceof IFile) { res.add(newCPLibraryElement(resource)); } } return (CPListElement[]) res.toArray(new CPListElement[res.size()]); |
| |||
for (int i = 0; i < selected.length; i++) { IPath curr = selected[i]; IResource resource = root.findMember(curr); if (resource instanceof [[#variablec34d3b40]]) { res.add(newCPLibraryElement(resource)); } } return (CPListElement[]) res.toArray(new CPListElement[res.size()]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c34d3b40]] | IContainer |
1 | 2 | [[#c34d3b40]] | IFile |