Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.963 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 176 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SwitchStatement.java |
2 | 2 | 461 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/Signature.java |
| ||||
// we sort the keys to be able to generate the code for tableswitch or lookupswitch for (int i = 0; i < caseCount; i++) { sortedIndexes[i] = i; } |
| ||||
for (int i = 0; i < arrayCount; i++) { result[i] = C_ARRAY; } |
| |||
// we sort the keys to be able to generate the code for tableswitch or lookupswitch for (int i = 0; i < [[#variablebca08c00]]; i++) { [[#variablebca08fc0]][i] = [[#variablebca090c0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bca08c00]] | caseCount |
1 | 2 | [[#bca08c00]] | arrayCount |
2 | 1 | [[#bca08fc0]] | sortedIndexes |
2 | 2 | [[#bca08fc0]] | result |
3 | 1 | [[#bca090c0]] | i |
3 | 2 | [[#bca090c0]] | C_ARRAY |