CloneSet4273


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.969executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19164
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassCreator.java
29174
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassCreator.java
Clone Instance
1
Line Count
9
Source Line
164
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassCreator.java

                                                       {
                                if (fieldIdx < initIdx) {
                                        result.append(constructor);
                                        result.append(fields);
                                        result.append(initializer);
                                }
                                else   {
                                        result.append(constructor);
                                        result.append(initializer);
                                        result.append(fields);
                                }
                                                       }


Clone Instance
2
Line Count
9
Source Line
174
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/AccessorClassCreator.java

                               {
                                if (constructorIdx < initIdx) {
                                        result.append(fields);
                                        result.append(constructor);
                                        result.append(initializer);
                                }
                                else   {
                                        result.append(fields);
                                        result.append(initializer);
                                        result.append(constructor);
                                }
                               }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  if ( [[#variable95af09c0]] < initIdx) {
    result.append( [[#variable95af0960]]);
    result.append( [[#variable95af07e0]]);
    result.append(initializer);
  }
  else {
    result.append( [[#variable95af0960]]);
    result.append(initializer);
    result.append( [[#variable95af07e0]]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95af09c0]]
fieldIdx 
12[[#95af09c0]]
constructorIdx 
21[[#95af0960]]
constructor 
22[[#95af0960]]
fields 
31[[#95af07e0]]
fields 
32[[#95af07e0]]
constructor