Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 7 | 2 | 0.984 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 424 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
2 | 11 | 434 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
3 | 11 | 445 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
4 | 11 | 456 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
5 | 11 | 467 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
6 | 11 | 478 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
7 | 11 | 489 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| ||||
case T_char: switch (rightId) { case T_char: return BooleanConstant.fromValue(left.charValue() == right.charValue()); case T_float: return BooleanConstant.fromValue(left.charValue() == right.floatValue()); case T_double: return BooleanConstant.fromValue(left.charValue() == right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left.charValue() == right.byteValue()); case T_short: return BooleanConstant.fromValue(left.charValue() == right.shortValue()); case T_int: return BooleanConstant.fromValue(left.charValue() == right.intValue()); case T_long: return BooleanConstant.fromValue(left.charValue() == right.longValue()); } break; |
| ||||
case T_float: switch (rightId) { case T_char: return BooleanConstant.fromValue(left.floatValue() == right.charValue()); case T_float: return BooleanConstant.fromValue(left.floatValue() == right.floatValue()); case T_double: return BooleanConstant.fromValue(left.floatValue() == right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left.floatValue() == right.byteValue()); case T_short: return BooleanConstant.fromValue(left.floatValue() == right.shortValue()); case T_int: return BooleanConstant.fromValue(left.floatValue() == right.intValue()); case T_long: return BooleanConstant.fromValue(left.floatValue() == right.longValue()); } break; |
| ||||
case T_double: switch (rightId) { case T_char: return BooleanConstant.fromValue(left.doubleValue() == right.charValue()); case T_float: return BooleanConstant.fromValue(left.doubleValue() == right.floatValue()); case T_double: return BooleanConstant.fromValue(left.doubleValue() == right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left.doubleValue() == right.byteValue()); case T_short: return BooleanConstant.fromValue(left.doubleValue() == right.shortValue()); case T_int: return BooleanConstant.fromValue(left.doubleValue() == right.intValue()); case T_long: return BooleanConstant.fromValue(left.doubleValue() == right.longValue()); } break; |
| ||||
case T_byte: switch (rightId) { case T_char: return BooleanConstant.fromValue(left.byteValue() == right.charValue()); case T_float: return BooleanConstant.fromValue(left.byteValue() == right.floatValue()); case T_double: return BooleanConstant.fromValue(left.byteValue() == right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left.byteValue() == right.byteValue()); case T_short: return BooleanConstant.fromValue(left.byteValue() == right.shortValue()); case T_int: return BooleanConstant.fromValue(left.byteValue() == right.intValue()); case T_long: return BooleanConstant.fromValue(left.byteValue() == right.longValue()); } break; |
| ||||
case T_short: switch (rightId) { case T_char: return BooleanConstant.fromValue(left.shortValue() == right.charValue()); case T_float: return BooleanConstant.fromValue(left.shortValue() == right.floatValue()); case T_double: return BooleanConstant.fromValue(left.shortValue() == right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left.shortValue() == right.byteValue()); case T_short: return BooleanConstant.fromValue(left.shortValue() == right.shortValue()); case T_int: return BooleanConstant.fromValue(left.shortValue() == right.intValue()); case T_long: return BooleanConstant.fromValue(left.shortValue() == right.longValue()); } break; |
| ||||
case T_int: switch (rightId) { case T_char: return BooleanConstant.fromValue(left.intValue() == right.charValue()); case T_float: return BooleanConstant.fromValue(left.intValue() == right.floatValue()); case T_double: return BooleanConstant.fromValue(left.intValue() == right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left.intValue() == right.byteValue()); case T_short: return BooleanConstant.fromValue(left.intValue() == right.shortValue()); case T_int: return BooleanConstant.fromValue(left.intValue() == right.intValue()); case T_long: return BooleanConstant.fromValue(left.intValue() == right.longValue()); } break; |
| ||||
case T_long: switch (rightId) { case T_char: return BooleanConstant.fromValue(left.longValue() == right.charValue()); case T_float: return BooleanConstant.fromValue(left.longValue() == right.floatValue()); case T_double: return BooleanConstant.fromValue(left.longValue() == right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left.longValue() == right.byteValue()); case T_short: return BooleanConstant.fromValue(left.longValue() == right.shortValue()); case T_int: return BooleanConstant.fromValue(left.longValue() == right.intValue()); case T_long: return BooleanConstant.fromValue(left.longValue() == right.longValue()); } break; |
| |||
case [[#variablea0bac000]]: switch (rightId) { case T_char: return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.charValue()); case T_float: return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.floatValue()); case T_double: return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.byteValue()); case T_short: return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.shortValue()); case T_int: return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.intValue()); case T_long: return BooleanConstant.fromValue(left. [[#variablea42e9ea0]]() == right.longValue()); } break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0bac000]] | T_char |
1 | 2 | [[#a0bac000]] | T_float |
1 | 3 | [[#a0bac000]] | T_double |
1 | 4 | [[#a0bac000]] | T_byte |
1 | 5 | [[#a0bac000]] | T_short |
1 | 6 | [[#a0bac000]] | T_int |
1 | 7 | [[#a0bac000]] | T_long |
2 | 1 | [[#a42e9ea0]] | charValue |
2 | 2 | [[#a42e9ea0]] | floatValue |
2 | 3 | [[#a42e9ea0]] | doubleValue |
2 | 4 | [[#a42e9ea0]] | byteValue |
2 | 5 | [[#a42e9ea0]] | shortValue |
2 | 6 | [[#a42e9ea0]] | intValue |
2 | 7 | [[#a42e9ea0]] | longValue |