return floatBinaryOperation((Float)lhs, (Float)rhs, kind); else if(lhs instanceof Double) return doubleBinaryOperation( (Double)lhs, (Double)rhs, kind);
return booleanBinaryOperation((Boolean)lhs, (Boolean)rhs, kind); else if(lhs instanceof Integer) return intBinaryOperation( (Integer)lhs, (Integer)rhs, kind );
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/bsh/Primitive.java File path: /jEdit-4.2/src/bsh/Primitive.java
Method name: Object binaryOperationImpl(Object, Object, int) Method name: Object binaryOperationImpl(Object, Object, int)
Number of AST nodes: 2 Number of AST nodes: 2
1
return floatBinaryOperation((Float)lhs, (Float)rhs, kind);
1
return booleanBinaryOperation((Boolean)lhs, (Boolean)rhs, kind);
2
        else if(lhs instanceof Double)
2
        else if(lhs instanceof Integer)
3
            return doubleBinaryOperation( (Double)lhs, (Double)rhs, kind);
3
            return intBinaryOperation( (Integer)lhs, (Integer)rhs, kind );
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in the same method
Number of node comparisons1
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements0
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeUnknown type
    Mapped Statements
    ID Statement ID Statement
    Precondition Violations (0)
    Row Violation