Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.990 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 348 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java |
2 | 10 | 494 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/BuildPathDialogAccess.java |
| ||||
ArrayList usedJars = new ArrayList(usedEntries.length); IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); for (int i = 0; i < usedEntries.length; i++) { IResource resource = root.findMember(usedEntries[i]); if (resource instanceof IFile) { usedJars.add(resource); } } IResource focus = initialSelection != null ? root.findMember(initialSelection): null; |
| ||||
ArrayList usedContainers = new ArrayList(usedEntries.length); IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); for (int i = 0; i < usedEntries.length; i++) { IResource resource = root.findMember(usedEntries[i]); if (resource instanceof IContainer) { usedContainers.add(resource); } } IResource focus = initialSelection != null ? root.findMember(initialSelection): null; |
| |||
ArrayList [[#variableb2f2a620]]= new ArrayList(usedEntries.length); IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); for (int i = 0; i < usedEntries.length; i++) { IResource resource = root.findMember(usedEntries[i]); if (resource instanceof [[#variablebd398780]]) { [[#variableb2f2a620]].add(resource); } } IResource focus = initialSelection != null ? root.findMember(initialSelection): null; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2f2a620]] | usedJars |
1 | 2 | [[#b2f2a620]] | usedContainers |
2 | 1 | [[#bd398780]] | IFile |
2 | 2 | [[#bd398780]] | IContainer |