return booleanBinaryOperation((Boolean)lhs, (Boolean)rhs, kind); else if(lhs instanceof Integer) return intBinaryOperation( (Integer)lhs, (Integer)rhs, kind ); else if(lhs instanceof Long) return longBinaryOperation((Long)lhs, (Long)rhs, kind); else if(lhs instanceof Float) return floatBinaryOperation((Float)lhs, (Float)rhs, kind);
return intBinaryOperation( (Integer)lhs, (Integer)rhs, kind ); else if(lhs instanceof Long) return longBinaryOperation((Long)lhs, (Long)rhs, kind); else if(lhs instanceof Float) return floatBinaryOperation((Float)lhs, (Float)rhs, kind); else if(lhs instanceof Double) return doubleBinaryOperation( (Double)lhs, (Double)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: 4 Number of AST nodes: 4
1
return booleanBinaryOperation((Boolean)lhs, (Boolean)rhs, kind);
2
        else if(lhs instanceof Integer)
3
            return intBinaryOperation( (Integer)lhs, (Integer)rhs, kind );
1
return intBinaryOperation( (Integer)lhs, (Integer)rhs, kind );
4
        else if(lhs instanceof Long)
2
        else if(lhs instanceof Long)
5
            return longBinaryOperation((Long)lhs, (Long)rhs, kind);
3
            return longBinaryOperation((Long)lhs, (Long)rhs, kind);
6
        else if(lhs instanceof Float)
4
        else if(lhs instanceof Float)
7
            return floatBinaryOperation((Float)lhs, (Float)rhs, kind);
5
            return floatBinaryOperation((Float)lhs, (Float)rhs, kind);
6
        else if(lhs instanceof Double)
7
            return doubleBinaryOperation( (Double)lhs, (Double)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