CloneSet4115


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.961statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15210
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
25859
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java
Clone Instance
1
Line Count
5
Source Line
210
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java

                for (Iterator iter = variableDeclarations.fragments().iterator(); iter.hasNext();) {
                        VariableDeclarationFragment fragment = (VariableDeclarationFragment) iter.next();
                        IVariableBinding binding = fragment.resolveBinding();
                        if (binding != null)
                                forInitializerVariables.add(binding);
                }


Clone Instance
2
Line Count
5
Source Line
859
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java

                                for ( final Iterator iterator = field.fragments().iterator(); iterator.hasNext();) {
                                        VariableDeclarationFragment fragment = (VariableDeclarationFragment) iterator.next();
                                        IVariableBinding binding = fragment.resolveBinding();
                                        if (binding != null)
                                                exclude.add(binding);
                                }


Clone AbstractionParameter Count: 4Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a2b6820]]
final 
12[[#5a2b6820]]
21[[#5a2b67a0]]
iterator 
22[[#5a2b67a0]]
iter 
31[[#5a2b66e0]]
field 
32[[#5a2b66e0]]
variableDeclarations 
41[[#5a2b6680]]
exclude 
42[[#5a2b6680]]
forInitializerVariables