CloneSet1322


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.973statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11299
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/BinaryBasedSourceGenerator.java
212221
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/SourceBasedSourceGenerator.java
Clone Instance
1
Line Count
12
Source Line
99
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/BinaryBasedSourceGenerator.java

                source.append("void "); //$NON-NLS-1$
                source.append(getUniqueMethodName(RUN_METHOD_NAME, type));
                source.append('(');
                for (int i = 0,length = fLocalVariableNames.length; i < length; i++) {
                        source.append(getDotName(fLocalVariableTypeNames[i]));
                        source.append(' ');
                        source.append(fLocalVariableNames[i]);
                        if (i + 1 < length)
                                source.append(", "); //$NON-NLS-1$
                }
                source.append(") throws Throwable {"); //$NON-NLS-1$
                source.append('\n');


Clone Instance
2
Line Count
12
Source Line
221
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/SourceBasedSourceGenerator.java

                buffer.append("void "); //$NON-NLS-1$
                buffer.append(getUniqueMethodName(RUN_METHOD_NAME, bodyDeclarations));
                buffer.append('(');
                for (int i = 0,length = fLocalVariableNames.length; i < length; i++) {
                        buffer.append(getDotName(fLocalVariableTypeNames[i]));
                        buffer.append(' ');
                        buffer.append(fLocalVariableNames[i]);
                        if (i + 1 < length)
                                buffer.append(", "); //$NON-NLS-1$
                }
                buffer.append(") throws Throwable {"); //$NON-NLS-1$
                buffer.append('\n');


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable6039daa0]].append("void "); //$NON-NLS-1$
 [[#variable6039daa0]].append(getUniqueMethodName(RUN_METHOD_NAME,  [[#variable6039dfe0]]));
 [[#variable6039daa0]].append('(');
for (int i = 0, length = fLocalVariableNames.length; i < length; i++) {
   [[#variable6039daa0]].append(getDotName(fLocalVariableTypeNames[i]));
   [[#variable6039daa0]].append(' ');
   [[#variable6039daa0]].append(fLocalVariableNames[i]);
  if (i + 1 < length)
     [[#variable6039daa0]].append(", "); //$NON-NLS-1$
}
 [[#variable6039daa0]].append(") throws Throwable {"); //$NON-NLS-1$
 [[#variable6039daa0]].append('\n');
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6039daa0]]
source 
12[[#6039daa0]]
buffer 
21[[#6039dfe0]]
type 
22[[#6039dfe0]]
bodyDeclarations