CloneSet199


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.959executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18112
E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/BSHUnaryExpression.java
28616
E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/Primitive.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
112
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/BSHUnaryExpression.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);
}


First
Previous
Clone Instance
2
Line Count
8
Source Line
616
Source File
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 Primitive((byte) result);
  if (operandType == Short.TYPE)
    return new Primitive((short) result);
  if (operandType == Character.TYPE)
    return new Primitive((char) result);
}


Clone AbstractionParameter Count: 3Parameter Bindings

// ++ 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#aecce40]]
Byte 
12[[#aecce40]]
Primitive 
21[[#aed8f80]]
Short 
22[[#aed8f80]]
Primitive 
31[[#aed9660]]
Character 
32[[#aed9660]]
Primitive