Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.961 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 210 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
2 | 5 | 859 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java |
| ||||
for (Iterator iter = variableDeclarations.fragments().iterator(); iter.hasNext();) { VariableDeclarationFragment fragment = (VariableDeclarationFragment) iter.next(); IVariableBinding binding = fragment.resolveBinding(); if (binding != null) forInitializerVariables.add(binding); } |
| ||||
for ( final Iterator iterator = field.fragments().iterator(); iterator.hasNext();) { VariableDeclarationFragment fragment = (VariableDeclarationFragment) iterator.next(); IVariableBinding binding = fragment.resolveBinding(); if (binding != null) exclude.add(binding); } |
| |||
for ( [[#variable5a2b6820]]Iterator [[#variable5a2b67a0]]= [[#variable5a2b66e0]].fragments().iterator(); [[#variable5a2b67a0]].hasNext();) { VariableDeclarationFragment fragment = (VariableDeclarationFragment) [[#variable5a2b67a0]].next(); IVariableBinding binding = fragment.resolveBinding(); if (binding != null) [[#variable5a2b6680]].add(binding); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a2b6820]] | final |
1 | 2 | [[#5a2b6820]] | |
2 | 1 | [[#5a2b67a0]] | iterator |
2 | 2 | [[#5a2b67a0]] | iter |
3 | 1 | [[#5a2b66e0]] | field |
3 | 2 | [[#5a2b66e0]] | variableDeclarations |
4 | 1 | [[#5a2b6680]] | exclude |
4 | 2 | [[#5a2b6680]] | forInitializerVariables |