CloneSet7097


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.981statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14816
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java
24835
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java
Clone Instance
1
Line Count
4
Source Line
816
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java

                                if (node.isDeclaration()) {
                                        fLocalDefinitions.add(typeBinding);
                                }
                                else   if ( ! fLocalDefinitions.contains(typeBinding)) {
                                        fLocalReferencesToEnclosing.add(node);
                                       }


Clone Instance
2
Line Count
4
Source Line
835
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java

                                if (node.isDeclaration()) {
                                        fLocalDefinitions.add(binding);
                                }
                                else   if ( ! fLocalDefinitions.contains(binding)) {
                                        fLocalReferencesToEnclosing.add(node);
                                       }


Clone AbstractionParameter Count: 1Parameter Bindings

if (node.isDeclaration()) {
  fLocalDefinitions.add( [[#variable55f8acc0]]);
}
else
  if ( !fLocalDefinitions.contains( [[#variable55f8acc0]])) {
    fLocalReferencesToEnclosing.add(node);
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55f8acc0]]
typeBinding 
12[[#55f8acc0]]
binding