Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.954 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 70 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/PackageBrowseAdapter.java |
2 | 6 | 138 | 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(); |
| ||||
for (int i = 0; i < roots.length; i++) { if (canAddPackageRoot(roots[i])) { getValidPackages(roots[i], result, null, matcher); } } return result; |
| |||
for (int i = 0; i < roots.length; i++) { if (canAddPackageRoot(roots[i])) { getValidPackages(roots[i], result, [[#variablea385d900]], [[#variablea385d920]]); } } return [[#variablea385d8c0]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a385d900]] | entered |
1 | 2 | [[#a385d900]] | null |
2 | 1 | [[#a385d920]] | elementNameMatch |
2 | 2 | [[#a385d920]] | matcher |
3 | 1 | [[#a385d8c0]] | result.toArray() |
3 | 2 | [[#a385d8c0]] | result |