CloneSet2908


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.967statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161228
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
261241
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
Clone Instance
1
Line Count
6
Source Line
1228
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                char[] s1 = new char[n + 1];
                for (int k = 0; k < n; k++) {
                        char c = name[k];
                        s1[k] = ScannerHelper.toLowerCase(c);
                }
                s1[n] = '\u0000';


Clone Instance
2
Line Count
6
Source Line
1241
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                char[] s2 = new char[m + 1];
                for (int k = 0; k < m; k++) {
                        char c = tokenName[k];
                        s2[k] = ScannerHelper.toLowerCase(c);
                }
                s2[m] = '\u0000';


Clone AbstractionParameter Count: 3Parameter Bindings

char[]  [[#variable62a363c0]]= new char[ [[#variable62a37d60]] + 1];
for (int k = 0; k <  [[#variable62a37d60]]; k++) {
  char c = [[#variable62a37e80]][k];
   [[#variable62a363c0]][k] = ScannerHelper.toLowerCase(c);
}
 [[#variable62a363c0]][ [[#variable62a37d60]]] = '\u0000';
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62a363c0]]
s1 
12[[#62a363c0]]
s2 
21[[#62a37d60]]
n 
22[[#62a37d60]]
m 
31[[#62a37e80]]
name 
32[[#62a37e80]]
tokenName