Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.992 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1847 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java |
2 | 7 | 710 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaElement.java |
| ||||
arrayLoop: for (int i = start, max = arrayLength - toBeFoundLength + 1; i < max; i++) { if (array[i] == toBeFound[0]) { for (int j = 1; j < toBeFoundLength; j++) { if (array[i + j] != toBeFound[j]) continue arrayLoop; } return i; } } |
| ||||
loop: for (int i = start, max = arrayLength - toBeFoundLength + 1; i < max; i++) { if (array[i] == toBeFound[0]) { for (int j = 1; j < toBeFoundLength; j++) { if (array[i + j] != toBeFound[j]) continue loop; } return i; } } |
| |||
[[#variable7d1c73a0]]: for (int i = start, max = arrayLength - toBeFoundLength + 1; i < max; i++) { if (array[i] == toBeFound[0]) { for (int j = 1; j < toBeFoundLength; j++) { if (array[i + j] != toBeFound[j]) continue [[#variable7d1c73a0]]; } return i; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d1c73a0]] | loop |
1 | 2 | [[#7d1c73a0]] | arrayLoop |