CloneSet673


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12320.987class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112106
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/BinaryOperator.java
212121
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/BinaryOperator.java
312136
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/BinaryOperator.java
Clone Instance
1
Line Count
12
Source Line
106
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/BinaryOperator.java

        private IJavaValue getByteValueResult(IJavaValue leftOperand, IJavaValue rightOperand) throws CoreException {
                switch (getInternResultType()) {
                        case T_double:
                                return newValue((byte) getDoubleResult(leftOperand, rightOperand));
                        case T_float:
                                return newValue((byte) getFloatResult(leftOperand, rightOperand));
                        case T_long:
                                return newValue((byte) getLongResult(leftOperand, rightOperand));
                        case T_int:
                                return newValue((byte) getIntResult(leftOperand, rightOperand));
                        default:
                                return null;
                      }
        }


Clone Instance
2
Line Count
12
Source Line
121
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/BinaryOperator.java

        private IJavaValue getShortValueResult(IJavaValue leftOperand, IJavaValue rightOperand) throws CoreException {
                switch (getInternResultType()) {
                        case T_double:
                                return newValue((short) getDoubleResult(leftOperand, rightOperand));
                        case T_float:
                                return newValue((short) getFloatResult(leftOperand, rightOperand));
                        case T_long:
                                return newValue((short) getLongResult(leftOperand, rightOperand));
                        case T_int:
                                return newValue((short) getIntResult(leftOperand, rightOperand));
                        default:
                                return null;
                      }
        }


Clone Instance
3
Line Count
12
Source Line
136
Source File
plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/BinaryOperator.java

        private IJavaValue getCharValueResult(IJavaValue leftOperand, IJavaValue rightOperand) throws CoreException {
                switch (getInternResultType()) {
                        case T_double:
                                return newValue((char) getDoubleResult(leftOperand, rightOperand));
                        case T_float:
                                return newValue((char) getFloatResult(leftOperand, rightOperand));
                        case T_long:
                                return newValue((char) getLongResult(leftOperand, rightOperand));
                        case T_int:
                                return newValue((char) getIntResult(leftOperand, rightOperand));
                        default:
                                return null;
                      }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private IJavaValue  [[#variableb41901c0]](IJavaValue leftOperand, IJavaValue rightOperand) throws CoreException {
  switch (getInternResultType()) {
    case T_double:
      return newValue(( [[#variableb801df20]]) getDoubleResult(leftOperand, rightOperand));
    case T_float:
      return newValue(( [[#variableb801df20]]) getFloatResult(leftOperand, rightOperand));
    case T_long:
      return newValue(( [[#variableb801df20]]) getLongResult(leftOperand, rightOperand));
    case T_int:
      return newValue(( [[#variableb801df20]]) getIntResult(leftOperand, rightOperand));
    default:
      return null;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b41901c0]]
getByteValueResult 
12[[#b41901c0]]
getShortValueResult 
13[[#b41901c0]]
getCharValueResult 
21[[#b801df20]]
byte 
22[[#b801df20]]
short 
23[[#b801df20]]
char