Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 7 | 4 | 0.972 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1001 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
2 | 8 | 1012 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
3 | 8 | 1023 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
4 | 8 | 1034 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
5 | 8 | 1045 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
6 | 8 | 1056 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
7 | 8 | 1067 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| ||||
switch (rightId) { case T_char: return IntConstant.fromValue(left.charValue() * right.charValue()); case T_float: return FloatConstant.fromValue(left.charValue() * right.floatValue()); case T_double: return DoubleConstant.fromValue(left.charValue() * right.doubleValue()); case T_byte: return IntConstant.fromValue(left.charValue() * right.byteValue()); case T_short: return IntConstant.fromValue(left.charValue() * right.shortValue()); case T_int: return IntConstant.fromValue(left.charValue() * right.intValue()); case T_long: return LongConstant.fromValue(left.charValue() * right.longValue()); } |
| ||||
switch (rightId) { case T_char: return FloatConstant.fromValue(left.floatValue() * right.charValue()); case T_float: return FloatConstant.fromValue(left.floatValue() * right.floatValue()); case T_double: return DoubleConstant.fromValue(left.floatValue() * right.doubleValue()); case T_byte: return FloatConstant.fromValue(left.floatValue() * right.byteValue()); case T_short: return FloatConstant.fromValue(left.floatValue() * right.shortValue()); case T_int: return FloatConstant.fromValue(left.floatValue() * right.intValue()); case T_long: return FloatConstant.fromValue(left.floatValue() * right.longValue()); } |
| ||||
switch (rightId) { case T_char: return DoubleConstant.fromValue(left.doubleValue() * right.charValue()); case T_float: return DoubleConstant.fromValue(left.doubleValue() * right.floatValue()); case T_double: return DoubleConstant.fromValue(left.doubleValue() * right.doubleValue()); case T_byte: return DoubleConstant.fromValue(left.doubleValue() * right.byteValue()); case T_short: return DoubleConstant.fromValue(left.doubleValue() * right.shortValue()); case T_int: return DoubleConstant.fromValue(left.doubleValue() * right.intValue()); case T_long: return DoubleConstant.fromValue(left.doubleValue() * right.longValue()); } |
| ||||
switch (rightId) { case T_char: return IntConstant.fromValue(left.byteValue() * right.charValue()); case T_float: return FloatConstant.fromValue(left.byteValue() * right.floatValue()); case T_double: return DoubleConstant.fromValue(left.byteValue() * right.doubleValue()); case T_byte: return IntConstant.fromValue(left.byteValue() * right.byteValue()); case T_short: return IntConstant.fromValue(left.byteValue() * right.shortValue()); case T_int: return IntConstant.fromValue(left.byteValue() * right.intValue()); case T_long: return LongConstant.fromValue(left.byteValue() * right.longValue()); } |
| ||||
switch (rightId) { case T_char: return IntConstant.fromValue(left.shortValue() * right.charValue()); case T_float: return FloatConstant.fromValue(left.shortValue() * right.floatValue()); case T_double: return DoubleConstant.fromValue(left.shortValue() * right.doubleValue()); case T_byte: return IntConstant.fromValue(left.shortValue() * right.byteValue()); case T_short: return IntConstant.fromValue(left.shortValue() * right.shortValue()); case T_int: return IntConstant.fromValue(left.shortValue() * right.intValue()); case T_long: return LongConstant.fromValue(left.shortValue() * right.longValue()); } |
| ||||
switch (rightId) { case T_char: return IntConstant.fromValue(left.intValue() * right.charValue()); case T_float: return FloatConstant.fromValue(left.intValue() * right.floatValue()); case T_double: return DoubleConstant.fromValue(left.intValue() * right.doubleValue()); case T_byte: return IntConstant.fromValue(left.intValue() * right.byteValue()); case T_short: return IntConstant.fromValue(left.intValue() * right.shortValue()); case T_int: return IntConstant.fromValue(left.intValue() * right.intValue()); case T_long: return LongConstant.fromValue(left.intValue() * right.longValue()); } |
| ||||
switch (rightId) { case T_char: return LongConstant.fromValue(left.longValue() * right.charValue()); case T_float: return FloatConstant.fromValue(left.longValue() * right.floatValue()); case T_double: return DoubleConstant.fromValue(left.longValue() * right.doubleValue()); case T_byte: return LongConstant.fromValue(left.longValue() * right.byteValue()); case T_short: return LongConstant.fromValue(left.longValue() * right.shortValue()); case T_int: return LongConstant.fromValue(left.longValue() * right.intValue()); case T_long: return LongConstant.fromValue(left.longValue() * right.longValue()); } |
| |||
switch (rightId) { case T_char: return [[#variable61d156e0]].fromValue(left. [[#variable61d15660]]() * right.charValue()); case T_float: return [[#variable61d15600]].fromValue(left. [[#variable61d15660]]() * right.floatValue()); case T_double: return DoubleConstant.fromValue(left. [[#variable61d15660]]() * right.doubleValue()); case T_byte: return [[#variable61d156e0]].fromValue(left. [[#variable61d15660]]() * right.byteValue()); case T_short: return [[#variable61d156e0]].fromValue(left. [[#variable61d15660]]() * right.shortValue()); case T_int: return [[#variable61d156e0]].fromValue(left. [[#variable61d15660]]() * right.intValue()); case T_long: return [[#variable61d15580]].fromValue(left. [[#variable61d15660]]() * right.longValue()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#61d156e0]] | IntConstant |
1 | 2 | [[#61d156e0]] | FloatConstant |
1 | 3 | [[#61d156e0]] | DoubleConstant |
1 | 4 | [[#61d156e0]] | IntConstant |
1 | 5 | [[#61d156e0]] | IntConstant |
1 | 6 | [[#61d156e0]] | IntConstant |
1 | 7 | [[#61d156e0]] | LongConstant |
2 | 1 | [[#61d15660]] | charValue |
2 | 2 | [[#61d15660]] | floatValue |
2 | 3 | [[#61d15660]] | doubleValue |
2 | 4 | [[#61d15660]] | byteValue |
2 | 5 | [[#61d15660]] | shortValue |
2 | 6 | [[#61d15660]] | intValue |
2 | 7 | [[#61d15660]] | longValue |
3 | 1 | [[#61d15600]] | FloatConstant |
3 | 2 | [[#61d15600]] | FloatConstant |
3 | 3 | [[#61d15600]] | DoubleConstant |
3 | 4 | [[#61d15600]] | FloatConstant |
3 | 5 | [[#61d15600]] | FloatConstant |
3 | 6 | [[#61d15600]] | FloatConstant |
3 | 7 | [[#61d15600]] | FloatConstant |
4 | 1 | [[#61d15580]] | LongConstant |
4 | 2 | [[#61d15580]] | FloatConstant |
4 | 3 | [[#61d15580]] | DoubleConstant |
4 | 4 | [[#61d15580]] | LongConstant |
4 | 5 | [[#61d15580]] | LongConstant |
4 | 6 | [[#61d15580]] | LongConstant |
4 | 7 | [[#61d15580]] | LongConstant |