CloneSet3562


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.954statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1670
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/PackageBrowseAdapter.java
26138
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/PackageBrowseAdapter.java
Clone Instance
1
Line Count
6
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/PackageBrowseAdapter.java

                        for (int i = 0; i < roots.length; i++) {
                                if (canAddPackageRoot(roots[i])) {
                                        getValidPackages(roots[i], result, entered, elementNameMatch);
                                }
                        }
                        return result.toArray();


Clone Instance
2
Line Count
6
Source Line
138
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/PackageBrowseAdapter.java

                        for (int i = 0; i < roots.length; i++) {
                                if (canAddPackageRoot(roots[i])) {
                                        getValidPackages(roots[i], result, null, matcher);
                                }
                        }
                        return result;


Clone AbstractionParameter Count: 3Parameter Bindings

for (int i = 0; i < roots.length; i++) {
  if (canAddPackageRoot(roots[i])) {
    getValidPackages(roots[i], result,  [[#variablea385d900]],  [[#variablea385d920]]);
  }
}
return [[#variablea385d8c0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a385d900]]
entered 
12[[#a385d900]]
null 
21[[#a385d920]]
elementNameMatch 
22[[#a385d920]]
matcher 
31[[#a385d8c0]]
result.toArray() 
32[[#a385d8c0]]
result