Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.957 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 39 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/RemainderOperator.java |
2 | 2 | 46 | 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(); } |
| ||||
/* * @see BinaryOperator#getFloatResult(IJavaValue, IJavaValue) */ protected float getFloatResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getFloatValue() % ((IJavaPrimitiveValue) rightOperand).getFloatValue(); } |
| |||
/* * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4c8ecb60]] | double |
1 | 2 | [[#4c8ecb60]] | float |
2 | 1 | [[#4c8ecac0]] | getDoubleResult |
2 | 2 | [[#4c8ecac0]] | getFloatResult |
3 | 1 | [[#4c8eca40]] | getDoubleValue |
3 | 2 | [[#4c8eca40]] | getFloatValue |