Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 3 | 0.957 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 80 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.java |
2 | 2 | 87 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.java |
3 | 2 | 94 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.java |
4 | 2 | 101 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/PlusOperator.java |
| ||||
/* * @see BinaryOperator#getDoubleResult(IJavaValue, IJavaValue) */ protected double getDoubleResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getDoubleValue() + ((IJavaPrimitiveValue) rightOperand).getDoubleValue(); } |
| ||||
/* * @see BinaryOperator#getFloatResult(IJavaValue, IJavaValue) */ protected float getFloatResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getFloatValue() + ((IJavaPrimitiveValue) rightOperand).getFloatValue(); } |
| ||||
/* * @see BinaryOperator#getIntResult(IJavaValue, IJavaValue) */ protected int getIntResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getIntValue() + ((IJavaPrimitiveValue) rightOperand).getIntValue(); } |
| ||||
/* * @see BinaryOperator#getLongResult(IJavaValue, IJavaValue) */ protected long getLongResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getLongValue() + ((IJavaPrimitiveValue) rightOperand).getLongValue(); } |
| |||
/* * @see BinaryOperator#getDoubleResult(IJavaValue, IJavaValue) */ /* * @see BinaryOperator#getFloatResult(IJavaValue, IJavaValue) */ /* * @see BinaryOperator#getIntResult(IJavaValue, IJavaValue) */ /* * @see BinaryOperator#getLongResult(IJavaValue, IJavaValue) */ protected [[#variable9b207940]] [[#variable9b2078c0]](IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand). [[#variable9b2077e0]]() + ((IJavaPrimitiveValue) rightOperand). [[#variable9b2077e0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b207940]] | double |
1 | 2 | [[#9b207940]] | float |
1 | 3 | [[#9b207940]] | int |
1 | 4 | [[#9b207940]] | long |
2 | 1 | [[#9b2078c0]] | getDoubleResult |
2 | 2 | [[#9b2078c0]] | getFloatResult |
2 | 3 | [[#9b2078c0]] | getIntResult |
2 | 4 | [[#9b2078c0]] | getLongResult |
3 | 1 | [[#9b2077e0]] | getDoubleValue |
3 | 2 | [[#9b2077e0]] | getFloatValue |
3 | 3 | [[#9b2077e0]] | getIntValue |
3 | 4 | [[#9b2077e0]] | getLongValue |