Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 5 | 0.955 | switch_groups[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 237 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
2 | 2 | 239 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java |
| ||||
case T_byte: return IntConstant.fromValue( ~ cst.byteValue()); case T_short: return IntConstant.fromValue( ~ cst.shortValue()); |
| ||||
case T_int: return IntConstant.fromValue( ~ cst.intValue()); case T_long: return LongConstant.fromValue( ~ cst.longValue()); |
| |||
case [[#variable61e84ce0]]: return IntConstant.fromValue( ~cst. [[#variable61e84c60]]()); case [[#variable61e84b40]]: return [[#variable61e84ba0]].fromValue( ~cst. [[#variable61f2de20]]()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#61e84ce0]] | T_int |
1 | 2 | [[#61e84ce0]] | T_byte |
2 | 1 | [[#61e84c60]] | intValue |
2 | 2 | [[#61e84c60]] | byteValue |
3 | 1 | [[#61e84b40]] | T_long |
3 | 2 | [[#61e84b40]] | T_short |
4 | 1 | [[#61e84ba0]] | LongConstant |
4 | 2 | [[#61e84ba0]] | IntConstant |
5 | 1 | [[#61f2de20]] | longValue |
5 | 2 | [[#61f2de20]] | shortValue |