File path: /jEdit-4.2/src/bsh/BSHAssignment.java | File path: /jEdit-4.2/src/bsh/BSHAssignment.java | |||
Method name: Object eval(CallStack, Interpreter)
|
Method name: Object eval(CallStack, Interpreter)
|
|||
Number of AST nodes: 5 | Number of AST nodes: 5 | |||
1 | case SLASHASSIGN:↵ | 1 | case LSHIFTASSIGNX:↵ | |
2 | return lhs.assign( ↵ | 2 | return lhs.assign( ↵ | |
3 | operation(lhsValue, rhs, SLASH), strictJava );↵ | 3 | operation(lhsValue, rhs, LSHIFT), strictJava );↵ | |
4 | case ANDASSIGN:↵ | 4 | case ↵ | |
5 | case ANDASSIGNX:↵ | |||
6 | ↵ | 5 | RSIGNEDSHIFTASSIGN:↵ | |
6 | case RSIGNEDSHIFTASSIGNX:↵ | |||
7 | return lhs.assign( ↵ | 7 | return lhs.assign( ↵ | |
8 | operation(lhsValue, rhs, BIT_AND), strictJava ); | 8 | operation(lhsValue, rhs, RSIGNEDSHIFT ), strictJava ); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 17 |
Number of mapped statements | 5 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
27 | case SLASHASSIGN: |
| 40 | case LSHIFTASSIGNX: | ||||||||||
28 | return lhs.assign(operation(lhsValue, rhs, SLASH), strictJava); |
| 41 | return lhs.assign(operation(lhsValue, rhs, LSHIFT), strictJava); | ||||||||||
29 | case ANDASSIGN: |
| 42 | case RSIGNEDSHIFTASSIGN: | ||||||||||
30 | case ANDASSIGNX: |
| 43 | case RSIGNEDSHIFTASSIGNX: | ||||||||||
31 | return lhs.assign(operation(lhsValue, rhs, BIT_AND), strictJava); |
| 44 | return lhs.assign(operation(lhsValue, rhs, RSIGNEDSHIFT), strictJava); |
Row | Violation |
---|