Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 3 | 2 | 0.987 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 106 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/BinaryOperator.java |
2 | 12 | 121 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/BinaryOperator.java |
3 | 12 | 136 | 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; } } |
| ||||
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; } } |
| ||||
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; } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b41901c0]] | getByteValueResult |
1 | 2 | [[#b41901c0]] | getShortValueResult |
1 | 3 | [[#b41901c0]] | getCharValueResult |
2 | 1 | [[#b801df20]] | byte |
2 | 2 | [[#b801df20]] | short |
2 | 3 | [[#b801df20]] | char |