File path: /sql12/plugins/dbcopy/test/adhoc/HADBColumnTest.java | File path: /sql12/plugins/dbcopy/test/adhoc/PointbaseBLOBTest.java | |||
Method name: void main(String[])
|
Method name: void main(String[])
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | HADBColumnTest test = new HADBColumnTest();↵ | 1 | PointbaseBLOBTest test = new PointbaseBLOBTest();↵ | |
2 | ↵ | 2 | ↵ | |
3 | test.doTest();↵ | 3 | test.doTest();↵ | |
4 | ↵ | 4 | ↵ | |
5 | test.shutdown(); | 5 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 9 |
Number of mapped statements | 2 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 1 | PointbaseBLOBTest test = new PointbaseBLOBTest(); | ||||||||||||
1 | HADBColumnTest test = new HADBColumnTest(); |
| | ||||||||||||
2 | test.doTest(); |
| 2 | test.doTest(); | |||||||||||
3 | test.shutdown(); |
| 3 | test.shutdown(); |
Row | Violation |
---|---|
1 | Unmatched statement PointbaseBLOBTest test=new PointbaseBLOBTest(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
2 | Unmatched statement HADBColumnTest test=new HADBColumnTest(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
3 | Type adhoc.HADBColumnTest of variable test does not match with type adhoc.PointbaseBLOBTest of variable test |
4 | Type adhoc.HADBColumnTest of variable test does not match with type adhoc.PointbaseBLOBTest of variable test |