Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.966 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 93 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TypeRules.java |
2 | 5 | 191 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/TypeRules.java |
| ||||
if (definedType.isPrimitive()) { return false; } if (typeToAssign.isArray()) { return isArrayCompatible(definedType); } |
| ||||
if (bindingToCast.isPrimitive()) { return false; } if (castType.isArray()) { return isArrayCompatible(bindingToCast); } |
| |||
if ( [[#variableb69c8d60]].isPrimitive()) { return false; } if ( [[#variableb69c8d20]].isArray()) { return isArrayCompatible( [[#variableb69c8d60]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b69c8d60]] | bindingToCast |
1 | 2 | [[#b69c8d60]] | definedType |
2 | 1 | [[#b69c8d20]] | castType |
2 | 2 | [[#b69c8d20]] | typeToAssign |