Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 3 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 29 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/OrOperator.java |
2 | 2 | 50 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/OrOperator.java |
3 | 2 | 57 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/OrOperator.java |
| ||||
/* * @see BinaryOperator#getBooleanResult(IJavaValue, IJavaValue) */ protected boolean getBooleanResult(IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand).getBooleanValue()| ((IJavaPrimitiveValue) rightOperand).getBooleanValue(); } |
| ||||
/* * @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#getBooleanResult(IJavaValue, IJavaValue) */ /* * @see BinaryOperator#getIntResult(IJavaValue, IJavaValue) */ /* * @see BinaryOperator#getLongResult(IJavaValue, IJavaValue) */ protected [[#variable62a6cac0]] [[#variable62a6ca40]](IJavaValue leftOperand, IJavaValue rightOperand) { return ((IJavaPrimitiveValue) leftOperand). [[#variable62a6c9c0]]()|((IJavaPrimitiveValue) rightOperand). [[#variable62a6c9c0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62a6cac0]] | boolean |
1 | 2 | [[#62a6cac0]] | int |
1 | 3 | [[#62a6cac0]] | long |
2 | 1 | [[#62a6ca40]] | getBooleanResult |
2 | 2 | [[#62a6ca40]] | getIntResult |
2 | 3 | [[#62a6ca40]] | getLongResult |
3 | 1 | [[#62a6c9c0]] | getBooleanValue |
3 | 2 | [[#62a6c9c0]] | getIntValue |
3 | 3 | [[#62a6c9c0]] | getLongValue |