Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 5 | 0.969 | switch_groups[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 65 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
2 | 4 | 182 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| ||||
case (T_byte << 4) + T_int: return ByteConstant.fromValue((byte) this.intValue()); // case (T_long<<4)+T_undefined : return NotAConstant; case (T_long << 4) + T_byte: return LongConstant.fromValue(this.byteValue()); |
| ||||
case (T_char << 4) + T_int: return CharConstant.fromValue((char) this.intValue()); // case (T_int<<4)+T_undefined : return NotAConstant; case (T_int << 4) + T_byte: return IntConstant.fromValue(this.byteValue()); |
| |||
case ( [[#variable52f4d680]] << 4) + T_int: return [[#variable52f4d5e0]].fromValue(( [[#variable52f4d540]]) this.intValue()); // case (T_long<<4)+T_undefined : return NotAConstant; // case (T_int<<4)+T_undefined : return NotAConstant; case ( [[#variable52f4d4e0]] << 4) + T_byte: return [[#variablea52669c0]].fromValue(this.byteValue()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52f4d680]] | T_byte |
1 | 2 | [[#52f4d680]] | T_char |
2 | 1 | [[#52f4d5e0]] | ByteConstant |
2 | 2 | [[#52f4d5e0]] | CharConstant |
3 | 1 | [[#52f4d540]] | byte |
3 | 2 | [[#52f4d540]] | char |
4 | 1 | [[#52f4d4e0]] | T_long |
4 | 2 | [[#52f4d4e0]] | T_int |
5 | 1 | [[#a52669c0]] | LongConstant |
5 | 2 | [[#a52669c0]] | IntConstant |