Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 295 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java |
2 | 9 | 116 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddArchiveToBuildpathAction.java |
| ||||
for (int i = 0; i < addedEntries.size(); i++) { IClasspathEntry entry = ((CPListElement) addedEntries.get(i)).getClasspathEntry(); IJavaElement elem = project.findPackageFragmentRoot(entry.getPath()); if (elem != null) { result.add(elem); } } monitor.worked(1); return result; |
| ||||
for (int i = 0; i < addedEntries.size(); i++) { IClasspathEntry entry = ((CPListElement) addedEntries.get(i)).getClasspathEntry(); IJavaElement elem = project.findPackageFragmentRoot(entry.getPath()); if (elem != null) { result.add(elem); } } monitor.worked(1); return result; |
| |||
for (int i = 0; i < addedEntries.size(); i++) { IClasspathEntry entry = ((CPListElement) addedEntries.get(i)).getClasspathEntry(); IJavaElement elem = project.findPackageFragmentRoot(entry.getPath()); if (elem != null) { result.add(elem); } } monitor.worked(1); return result; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |