Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 4 | 0.957 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 75 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java |
2 | 2 | 107 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java |
| ||||
mid = (left + right) / 2; int compare = compare(name, midName = sortedFields[mid].name, nameLength, midName.length); |
| ||||
mid = (left + right) / 2; int compare = compare(selector, midSelector = sortedMethods[mid].selector, selectorLength, midSelector.length); |
| |||
mid = (left + right) / 2; int compare = compare( [[#variableb2462200]], [[#variableb2075e40]]= [[#variableb5fd7520]][mid]. [[#variableb2462200]], [[#variable582bf580]], [[#variableb2075e40]].length); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2462200]] | name |
1 | 2 | [[#b2462200]] | selector |
2 | 1 | [[#b2075e40]] | midName |
2 | 2 | [[#b2075e40]] | midSelector |
3 | 1 | [[#b5fd7520]] | sortedFields |
3 | 2 | [[#b5fd7520]] | sortedMethods |
4 | 1 | [[#582bf580]] | nameLength |
4 | 2 | [[#582bf580]] | selectorLength |