File path: /emf-2.4.1/src/org/eclipse/emf/converter/ui/contribution/base/ModelConverterURIPage.java | File path: /emf-2.4.1/src/org/eclipse/emf/importer/rose/ui/RoseDetailPage.java | |||
Method name: void createURIControl(Composite)
|
Method name: void addDetailControl(Composite)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | FormLayout layout = new FormLayout();↵ | 1 | FormLayout layout = new FormLayout();↵ | |
2 | layout.marginTop = 10;↵ | 2 | layout.marginTop = 10;↵ | |
3 | layout.spacing = 10;↵ | 3 | layout.spacing = 10;↵ | |
4 | composite.setLayout(layout); | 4 | pathMapGroup.setLayout(layout); | |
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 different classes having the same super class |
Number of node comparisons | 10 |
Number of mapped statements | 4 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | FormLayout layout = new FormLayout(); | 2 | FormLayout layout = new FormLayout(); | ||||||||||||||
4 | layout.marginTop = 10; | 3 | layout.marginTop = 10; | ||||||||||||||
5 | layout.spacing = 10; | 4 | layout.spacing = 10; | ||||||||||||||
6 | composite.setLayout(layout); |
| 5 | pathMapGroup.setLayout(layout); |
Row | Violation |
---|