Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.960 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 850 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java |
2 | 5 | 867 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java |
| ||||
for (int j = 0, length2 = roots.length; j < length2; j++) { if (requestor.isCanceled()) return; PackageFragmentRoot root = (PackageFragmentRoot) roots[j]; requestor.acceptPackageFragment(root.getPackageFragment(pkgName)); } |
| ||||
for (int i = 0, length = roots.length; i < length; i++) { if (requestor.isCanceled()) return; PackageFragmentRoot root = (PackageFragmentRoot) roots[i]; requestor.acceptPackageFragment(root.getPackageFragment(splittedName)); } |
| |||
for (int [[#variablea06372e0]]= 0, [[#variablea0637280]]= roots.length; [[#variablea06372e0]] < [[#variablea0637280]]; [[#variablea06372e0]]++) { if (requestor.isCanceled()) return; PackageFragmentRoot root = (PackageFragmentRoot) roots[ [[#variablea06372e0]]]; requestor.acceptPackageFragment(root.getPackageFragment( [[#variablea06370e0]])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a06372e0]] | j |
1 | 2 | [[#a06372e0]] | i |
2 | 1 | [[#a0637280]] | length2 |
2 | 2 | [[#a0637280]] | length |
3 | 1 | [[#a06370e0]] | pkgName |
3 | 2 | [[#a06370e0]] | splittedName |