| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 4 | 1 | 0.982 | switch_groups[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 44 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Expression.java |
| 2 | 8 | 64 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Expression.java |
| 3 | 8 | 84 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Expression.java |
| 4 | 8 | 144 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Expression.java |
| ||||
case T_short:
return constant.shortValue() == constant.charValue();
case T_byte:
return constant.byteValue() == constant.charValue();
case T_long:
return constant.longValue() == constant.charValue();
default:
return false; //boolean
|
| ||||
case T_short:
return constant.shortValue() == constant.floatValue();
case T_byte:
return constant.byteValue() == constant.floatValue();
case T_long:
return constant.longValue() == constant.floatValue();
default:
return false; //boolean
|
| ||||
case T_short:
return constant.shortValue() == constant.doubleValue();
case T_byte:
return constant.byteValue() == constant.doubleValue();
case T_long:
return constant.longValue() == constant.doubleValue();
default:
return false; //boolean
|
| ||||
case T_short:
return constant.shortValue() == constant.intValue();
case T_byte:
return constant.byteValue() == constant.intValue();
case T_long:
return constant.longValue() == constant.intValue();
default:
return false; //boolean
|
| |||
case T_short: return constant.shortValue() == constant. [[#variable53949580]](); case T_byte: return constant.byteValue() == constant. [[#variable53949580]](); case T_long: return constant.longValue() == constant. [[#variable53949580]](); default: return false; //boolean |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#53949580]] | charValue |
| 1 | 2 | [[#53949580]] | floatValue |
| 1 | 3 | [[#53949580]] | doubleValue |
| 1 | 4 | [[#53949580]] | intValue |