CloneSet3822


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.960statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15850
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java
25867
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java
Clone Instance
1
Line Count
5
Source Line
850
Source File
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));
                                                }


Clone Instance
2
Line Count
5
Source Line
867
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java

                                        for (int i = 0, length = roots.length; i < length; i++) {
                                                if (requestor.isCanceled())
                                                        return;
                                                PackageFragmentRoot root = (PackageFragmentRoot) roots[i];
                                                requestor.acceptPackageFragment(root.getPackageFragment(splittedName));
                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a06372e0]]
j 
12[[#a06372e0]]
i 
21[[#a0637280]]
length2 
22[[#a0637280]]
length 
31[[#a06370e0]]
pkgName 
32[[#a06370e0]]
splittedName