Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.967 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1228 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java |
2 | 6 | 1241 | 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'; |
| ||||
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'; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62a363c0]] | s1 |
1 | 2 | [[#62a363c0]] | s2 |
2 | 1 | [[#62a37d60]] | n |
2 | 2 | [[#62a37d60]] | m |
3 | 1 | [[#62a37e80]] | name |
3 | 2 | [[#62a37e80]] | tokenName |