CloneSet2336


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.960statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19148
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BlockScope.java
29480
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java
Clone Instance
1
Line Count
9
Source Line
148
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BlockScope.java

        String newLine = "\n"; //$NON-NLS-1$
        for (int i = tab; --i >= 0;)
                newLine += "\t"; //$NON-NLS-1$

        String s = newLine + "--- Block Scope ---"; //$NON-NLS-1$
        newLine += "\t"; //$NON-NLS-1$
        s += newLine + "locals:"; //$NON-NLS-1$
        for (int i = 0; i < this.localIndex; i++)
                s += newLine + "\t" + this.locals[i].toString(); //$NON-NLS-1$


Clone Instance
2
Line Count
9
Source Line
480
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java

                String newLine = "\n"; //$NON-NLS-1$
                for (int i = tab; --i >= 0;)
                        newLine += "\t"; //$NON-NLS-1$

                String s = newLine + "--- Method Scope ---"; //$NON-NLS-1$
                newLine += "\t"; //$NON-NLS-1$
                s += newLine + "locals:"; //$NON-NLS-1$
                for (int i = 0; i < localIndex; i++)
                        s += newLine + "\t" + locals[i].toString(); //$NON-NLS-1$


Clone AbstractionParameter Count: 3Parameter Bindings

String newLine = "\n"; //$NON-NLS-1$
for (int i = tab; --i >= 0;)
  newLine += "\t"; //$NON-NLS-1$
String s = newLine +  [[#variablec15f9160]]; //$NON-NLS-1$
newLine += "\t"; //$NON-NLS-1$
s += newLine + "locals:"; //$NON-NLS-1$
for (int i = 0; i <  [[#variablec15f91e0]]; i++)
  s += newLine + "\t" +  [[#variableb304b840]][i].toString(); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c15f9160]]
"--- Block Scope ---" 
12[[#c15f9160]]
"--- Method Scope ---" 
21[[#c15f91e0]]
this.localIndex 
22[[#c15f91e0]]
localIndex 
31[[#b304b840]]
this.locals 
32[[#b304b840]]
locals