CloneSet7927


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.978executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15166
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ControlStatementsCleanUp.java
25171
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ControlStatementsCleanUp.java
Clone Instance
1
Line Count
5
Source Line
166
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ControlStatementsCleanUp.java

                                                                   {
                        buf.append("for (int element : ids) {\n"); //$NON-NLS-1$
                        buf.append("    double value= element / 2; \n"); //$NON-NLS-1$
                        buf.append("    System.out.println(value);\n"); //$NON-NLS-1$
                        buf.append("}\n"); //$NON-NLS-1$
                                                                   }


Clone Instance
2
Line Count
5
Source Line
171
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ControlStatementsCleanUp.java

                       {
                        buf.append("for (int i = 0; i < ids.length; i++) {\n"); //$NON-NLS-1$
                        buf.append("    double value= ids[i] / 2; \n"); //$NON-NLS-1$
                        buf.append("    System.out.println(value);\n"); //$NON-NLS-1$
                        buf.append("}\n"); //$NON-NLS-1$
                       }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  buf.append( [[#variable4eb7ef60]]); //$NON-NLS-1$
  buf.append( [[#variable4eb7ef00]]); //$NON-NLS-1$
  buf.append("    System.out.println(value);\n"); //$NON-NLS-1$
  buf.append("}\n"); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4eb7ef60]]
"for (int element : ids) {\n" 
12[[#4eb7ef60]]
"for (int i = 0; i < ids.length; i++) {\n" 
21[[#4eb7ef00]]
"    double value= element / 2; \n" 
22[[#4eb7ef00]]
"    double value= ids[i] / 2; \n"