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