File path: /emf-2.4.1/src/org/eclipse/emf/converter/ui/ModelConverterDescriptorSelectionPage.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/presentation/EcoreModelWizard.java | |||
Method name: void createControl(Composite)
|
Method name: void createControlGen(Composite)
|
|||
Number of AST nodes: 9 | Number of AST nodes: 9 | |||
1 | GridLayout layout = new GridLayout();↵ | 1 | GridLayout layout = new GridLayout();↵ | |
2 | layout.numColumns = 1;↵ | 2 | layout.numColumns = 1;↵ | |
3 | layout.verticalSpacing = 12;↵ | 3 | layout.verticalSpacing = 12;↵ | |
4 | composite.setLayout(layout);↵ | 4 | composite.setLayout(layout);↵ | |
5 | GridData data = new GridData();↵ | 5 | GridData data = new GridData();↵ | |
6 | data.verticalAlignment = GridData.FILL;↵ | 6 | data.verticalAlignment = GridData.FILL;↵ | |
7 | data.grabExcessVerticalSpace = true;↵ | 7 | data.grabExcessVerticalSpace = true;↵ | |
8 | data.horizontalAlignment = GridData.FILL;↵ | 8 | data.horizontalAlignment = GridData.FILL;↵ | |
9 | composite.setLayoutData(data); | 9 | composite.setLayoutData(data); | |
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 | 41 |
Number of mapped statements | 9 |
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 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
2 | GridLayout layout = new GridLayout(); | 2 | GridLayout layout = new GridLayout(); | |
3 | layout.numColumns = 1; | 3 | layout.numColumns = 1; | |
4 | layout.verticalSpacing = 12; | 4 | layout.verticalSpacing = 12; | |
5 | composite.setLayout(layout); | 5 | composite.setLayout(layout); | |
6 | GridData data = new GridData(); | 6 | GridData data = new GridData(); | |
7 | data.verticalAlignment = GridData.FILL; | 7 | data.verticalAlignment = GridData.FILL; | |
8 | data.grabExcessVerticalSpace = true; | 8 | data.grabExcessVerticalSpace = true; | |
9 | data.horizontalAlignment = GridData.FILL; | 9 | data.horizontalAlignment = GridData.FILL; | |
10 | composite.setLayoutData(data); | 10 | composite.setLayoutData(data); |
Row | Violation |
---|