Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.974 | switch_groups[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 77 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
2 | 5 | 142 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| ||||
// case (T_long<<4)+T_boolean : return NotAConstant; case (T_long << 4) + T_char: return LongConstant.fromValue(this.charValue()); case (T_long << 4) + T_int: return LongConstant.fromValue(this.intValue()); // case (T_short<<4)+T_undefined : return NotAConstant; case (T_short << 4) + T_byte: return ShortConstant.fromValue(this.byteValue()); |
| ||||
// case (T_double<<4)+T_boolean : return NotAConstant; case (T_double << 4) + T_char: return DoubleConstant.fromValue(this.charValue()); case (T_double << 4) + T_int: return DoubleConstant.fromValue(this.intValue()); // case (T_float<<4)+T_undefined : return NotAConstant; case (T_float << 4) + T_byte: return FloatConstant.fromValue(this.byteValue()); |
| |||
// case (T_long<<4)+T_boolean : return NotAConstant; // case (T_double<<4)+T_boolean : return NotAConstant; case ( [[#variable945e12c0]] << 4) + T_char: return [[#variable945e1260]].fromValue(this.charValue()); case ( [[#variable945e12c0]] << 4) + T_int: return [[#variable945e1260]].fromValue(this.intValue()); // case (T_short<<4)+T_undefined : return NotAConstant; // case (T_float<<4)+T_undefined : return NotAConstant; case ( [[#variable945e11a0]] << 4) + T_byte: return [[#variable945e1100]].fromValue(this.byteValue()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#945e12c0]] | T_long |
1 | 2 | [[#945e12c0]] | T_double |
2 | 1 | [[#945e1260]] | LongConstant |
2 | 2 | [[#945e1260]] | DoubleConstant |
3 | 1 | [[#945e11a0]] | T_short |
3 | 2 | [[#945e11a0]] | T_float |
4 | 1 | [[#945e1100]] | ShortConstant |
4 | 2 | [[#945e1100]] | FloatConstant |