CloneSet7828


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/RemainderOperator.java
2246
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/RemainderOperator.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/RemainderOperator.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/RemainderOperator.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 [[#variable4c8ecb60]]  [[#variable4c8ecac0]](IJavaValue leftOperand, IJavaValue rightOperand) {
  return ((IJavaPrimitiveValue) leftOperand). [[#variable4c8eca40]]() % ((IJavaPrimitiveValue) rightOperand). [[#variable4c8eca40]]();
}
 

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