File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/celleditor/FeatureEditorDialog.java | File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/celleditor/FeatureEditorDialog.java | |||
Method name: Control createDialogArea(Composite)
|
Method name: Control createDialogArea(Composite)
|
|||
Number of AST nodes: 9 | Number of AST nodes: 9 | |||
1 | GridData data = new GridData(SWT.FILL, SWT.FILL, true, true);↵ | 1 | GridData data = new GridData(SWT.FILL, SWT.FILL, true, true);↵ | |
2 | data.horizontalAlignment = SWT.END;↵ | 2 | data.horizontalAlignment = SWT.END;↵ | |
3 | choiceComposite.setLayoutData(data);↵ | 3 | featureComposite.setLayoutData(data);↵ | |
4 | GridLayout layout = new GridLayout();↵ | 4 | GridLayout layout = new GridLayout();↵ | |
5 | data.horizontalAlignment = SWT.FILL;↵ | 5 | data.horizontalAlignment = SWT.FILL;↵ | |
6 | layout.marginHeight = 0;↵ | 6 | layout.marginHeight = 0;↵ | |
7 | layout.marginWidth = 0;↵ | 7 | layout.marginWidth = 0;↵ | |
8 | layout.numColumns = 1;↵ | 8 | layout.numColumns = 1;↵ | |
9 | choiceComposite.setLayout(layout); | 9 | featureComposite.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 the same method |
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 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8 | GridData data = new GridData(SWT.FILL, SWT.FILL, true, true); | 87 | GridData data = new GridData(SWT.FILL, SWT.FILL, true, true); | |||||||||||
9 | data.horizontalAlignment = SWT.END; | 88 | data.horizontalAlignment = SWT.END; | |||||||||||
10 | choiceComposite.setLayoutData(data); |
| 89 | featureComposite.setLayoutData(data); | ||||||||||
11 | GridLayout layout = new GridLayout(); | 90 | GridLayout layout = new GridLayout(); | |||||||||||
12 | data.horizontalAlignment = SWT.FILL; | 91 | data.horizontalAlignment = SWT.FILL; | |||||||||||
13 | layout.marginHeight = 0; | 92 | layout.marginHeight = 0; | |||||||||||
14 | layout.marginWidth = 0; | 93 | layout.marginWidth = 0; | |||||||||||
15 | layout.numColumns = 1; | 94 | layout.numColumns = 1; | |||||||||||
16 | choiceComposite.setLayout(layout); |
| 95 | featureComposite.setLayout(layout); |
Row | Violation |
---|