Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.959 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 112 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/BSHUnaryExpression.java |
2 | 8 | 616 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/Primitive.java |
| |||||
// ++ and -- must be cast back the original type if (kind == INCR || kind == DECR) { if (operandType == Byte.TYPE) return new Byte((byte) result); if (operandType == Short.TYPE) return new Short((short) result); if (operandType == Character.TYPE) return new Character((char) result); } |
| |||||
// ++ and -- must be cast back the original type if (kind == INCR || kind == DECR) { if (operandType == Byte.TYPE) return new Primitive((byte) result); if (operandType == Short.TYPE) return new Primitive((short) result); if (operandType == Character.TYPE) return new Primitive((char) result); } |
| |||
// ++ and -- must be cast back the original type if (kind == INCR || kind == DECR) { if (operandType == Byte.TYPE) return new [[#variableaecce40]]((byte) result); if (operandType == Short.TYPE) return new [[#variableaed8f80]]((short) result); if (operandType == Character.TYPE) return new [[#variableaed9660]]((char) result); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#aecce40]] | Byte |
1 | 2 | [[#aecce40]] | Primitive |
2 | 1 | [[#aed8f80]] | Short |
2 | 2 | [[#aed8f80]] | Primitive |
3 | 1 | [[#aed9660]] | Character |
3 | 2 | [[#aed9660]] | Primitive |