CloneSet257


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14210.984executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114656
E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/Primitive.java
214677
E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/Primitive.java
Next
Last
Clone Instance
1
Line Count
14
Source Line
656
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/Primitive.java

switch (kind) {
  case PLUS:
    return operand;
  case MINUS:
    return -operand;
  case TILDE:
    return ~operand;
  case INCR:
    return operand + 1;
  case DECR:
    return operand - 1;
  default:
    throw new InterpreterError("bad integer unaryOperation");
}


First
Previous
Clone Instance
2
Line Count
14
Source Line
677
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/Primitive.java

switch (kind) {
  case PLUS:
    return operand;
  case MINUS:
    return -operand;
  case TILDE:
    return ~operand;
  case INCR:
    return operand + 1;
  case DECR:
    return operand - 1;
  default:
    throw new InterpreterError("bad long unaryOperation");
}


Clone AbstractionParameter Count: 1Parameter Bindings

switch (kind) {
  case PLUS:
    return operand;
  case MINUS:
    return -operand;
  case TILDE:
    return ~operand;
  case INCR:
    return operand + 1;
  case DECR:
    return operand - 1;
  default:
    throw new InterpreterError( [[#variableaebf620]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#aebf620]]
"bad integer unaryOperation" 
12[[#aebf620]]
"bad long unaryOperation"