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 | 35 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.java |
2 | 2 | 42 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.java |
3 | 2 | 49 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.java |
4 | 2 | 56 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/MultiplyOperator.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 [[#variable9ef766e0]] [[#variable9ef766a0]](IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand). [[#variable9ef76720]]() * ((IJavaPrimitiveValue) rightOperand). [[#variable9ef76720]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9ef766e0]] | double |
1 | 2 | [[#9ef766e0]] | float |
1 | 3 | [[#9ef766e0]] | int |
1 | 4 | [[#9ef766e0]] | long |
2 | 1 | [[#9ef766a0]] | getDoubleResult |
2 | 2 | [[#9ef766a0]] | getFloatResult |
2 | 3 | [[#9ef766a0]] | getIntResult |
2 | 4 | [[#9ef766a0]] | getLongResult |
3 | 1 | [[#9ef76720]] | getDoubleValue |
3 | 2 | [[#9ef76720]] | getFloatValue |
3 | 3 | [[#9ef76720]] | getIntValue |
3 | 4 | [[#9ef76720]] | getLongValue |