File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java | |||
Method name: int matchCharArray(Context, Op, int, int, int)
|
Method name: int matchCharArray(Context, Op, int, int, int)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | if (o1 >= con.limit || o1 < 0)↵ | 1 | if (o1 >= con.limit || o1 < 0)↵ | |
2 | return -1;↵ | 2 | return -1;↵ | |
3 | int ch = target [ o1 ] ; | 3 |
| |
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) | 2.9 |
Clones location | Clones are in the same method |
Number of node comparisons | 54 |
Number of mapped statements | 3 |
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) | 1.8 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
44 | if (o1 >= con.limit || o1 < 0) | 78 | if (o1 >= con.limit || o1 < 0) | |
45 | return -1; | 79 | return -1; | |
46 | int ch = target[o1]; | 80 | int ch = target[o1]; |
Row | Violation |
---|