Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.967 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 137 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/TypeContextChecker.java |
2 | 5 | 146 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/TypeContextChecker.java |
| ||||
if (typeBindings[i] == null || (needsSecondPass && ! semanticsResults2[i].isOK())) { if (results[i] == null) results[i] = semanticsResults2[i]; else results[i].merge(semanticsResults2[i]); } |
| ||||
if (typeBindings[parameterCount] == null || (needsSecondPass && ! semanticsResults2[parameterCount].isOK())) { if (results[parameterCount] == null) results[parameterCount] = semanticsResults2[parameterCount]; else results[parameterCount].merge(semanticsResults2[parameterCount]); } |
| |||
if (typeBindings[ [[#variable5a7aa540]]] == null || (needsSecondPass && !semanticsResults2[ [[#variable5a7aa540]]].isOK())) { if (results[ [[#variable5a7aa540]]] == null) results[ [[#variable5a7aa540]]] = semanticsResults2[ [[#variable5a7aa540]]]; else results[ [[#variable5a7aa540]]].merge(semanticsResults2[ [[#variable5a7aa540]]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a7aa540]] | i |
1 | 2 | [[#5a7aa540]] | parameterCount |