Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 7 | 1 | 0.986 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 832 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
2 | 8 | 843 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
3 | 8 | 854 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
4 | 8 | 865 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
5 | 8 | 876 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
6 | 8 | 887 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
7 | 8 | 898 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| ||||
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()); } |
| ||||
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()); } |
| ||||
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()); } |
| ||||
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()); } |
| ||||
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()); } |
| ||||
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()); } |
| ||||
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()); } |
| |||
switch (rightId) { case T_char: return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.charValue()); case T_float: return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.floatValue()); case T_double: return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.doubleValue()); case T_byte: return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.byteValue()); case T_short: return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.shortValue()); case T_int: return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.intValue()); case T_long: return BooleanConstant.fromValue(left. [[#variablebada16e0]]() <= right.longValue()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bada16e0]] | charValue |
1 | 2 | [[#bada16e0]] | floatValue |
1 | 3 | [[#bada16e0]] | doubleValue |
1 | 4 | [[#bada16e0]] | byteValue |
1 | 5 | [[#bada16e0]] | shortValue |
1 | 6 | [[#bada16e0]] | intValue |
1 | 7 | [[#bada16e0]] | longValue |