CloneSet7829


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.957class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1239
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/DivideOperator.java
2246
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/DivideOperator.java
Clone Instance
1
Line Count
2
Source Line
39
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/DivideOperator.java

        /*
         * @see BinaryOperator#getDoubleResult(IJavaValue, IJavaValue)
         */
        protected double getDoubleResult(IJavaValue leftOperand, IJavaValue rightOperand) {
                return ((IJavaPrimitiveValue) leftOperand).getDoubleValue() / ((IJavaPrimitiveValue) rightOperand).getDoubleValue();
        }


Clone Instance
2
Line Count
2
Source Line
46
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/DivideOperator.java

        /*
         * @see BinaryOperator#getFloatResult(IJavaValue, IJavaValue)
         */
        protected float getFloatResult(IJavaValue leftOperand, IJavaValue rightOperand) {
                return ((IJavaPrimitiveValue) leftOperand).getFloatValue() / ((IJavaPrimitiveValue) rightOperand).getFloatValue();
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see BinaryOperator#getDoubleResult(IJavaValue, IJavaValue)
         */
/*
         * @see BinaryOperator#getFloatResult(IJavaValue, IJavaValue)
         */
protected [[#variable4c8ede20]]  [[#variable4c8edda0]](IJavaValue leftOperand, IJavaValue rightOperand) {
  return ((IJavaPrimitiveValue) leftOperand). [[#variable4c8edca0]]() / ((IJavaPrimitiveValue) rightOperand). [[#variable4c8edca0]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4c8ede20]]
double 
12[[#4c8ede20]]
float 
21[[#4c8edda0]]
getDoubleResult 
22[[#4c8edda0]]
getFloatResult 
31[[#4c8edca0]]
getDoubleValue 
32[[#4c8edca0]]
getFloatValue