File path: /emf-2.4.1/src/org/eclipse/emf/exporter/ui/contribution/base/ModelExporterOptionsPage.java | File path: /emf-2.4.1/src/org/eclipse/emf/common/ui/dialogs/WorkspaceResourceDialog.java | |||
Method name: void createSaveSettingsControl(Composite)
|
Method name: void createFileControl(Composite)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | GridLayout layout = new GridLayout();↵ | 1 | GridLayout layout = new GridLayout(2, false);↵ | |
2 | layout.marginLeft = -5;↵ | 2 | layout.marginLeft = -5;↵ | |
3 | layout.marginRight = -5;↵ | 3 | layout.marginRight = -5;↵ | |
4 | layout.marginTop = -5;↵ | 4 | layout.marginTop = -5;↵ | |
5 | layout.marginBottom = -5;↵ | 5 | layout.marginBottom = -5;↵ | |
6 | composite.setLayout(layout); | 6 |
| |
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 |
Number of node comparisons | 26 |
Number of mapped statements | 6 |
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 | GridLayout layout = new GridLayout(); |
| 3 | GridLayout layout = new GridLayout(2, false); | ||||||||||
4 | layout.marginLeft = -5; | 4 | layout.marginLeft = -5; | |||||||||||
5 | layout.marginRight = -5; | 5 | layout.marginRight = -5; | |||||||||||
6 | layout.marginTop = -5; | 6 | layout.marginTop = -5; | |||||||||||
7 | layout.marginBottom = -5; | 7 | layout.marginBottom = -5; | |||||||||||
8 | composite.setLayout(layout); | 8 | composite.setLayout(layout); |
Row | Violation |
---|