File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/SpecialFoldersPanel.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/SpecialFoldersPanel.java | |||
Method name: void layoutComponents()
|
Method name: void layoutComponents()
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | c.weightx = 0.1;↵ | 1 | c.weightx = 0.1;↵ | |
2 | c.gridwidth = GridBagConstraints.RELATIVE;↵ | 2 | c.gridwidth = GridBagConstraints.RELATIVE;↵ | |
3 | layout.setConstraints(templatesLabel, c);↵ | 3 | layout.setConstraints(trashLabel, c);↵ | |
4 | folderPanel.add(templatesLabel);↵ | 4 | folderPanel.add(trashLabel);↵ | |
5 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | 5 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | |
6 | c.weightx = 0.9;↵ | 6 | c.weightx = 0.9;↵ | |
7 | layout.setConstraints(templatesButton, c);↵ | 7 | layout.setConstraints(trashButton, c);↵ | |
8 | folderPanel.add(templatesButton); | 8 | folderPanel.add(trashButton); | |
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 | 64 |
Number of mapped statements | 8 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
40 | c.weightx = 0.1; | 57 | c.weightx = 0.1; | |||||||||||
41 | c.gridwidth = GridBagConstraints.RELATIVE; | 58 | c.gridwidth = GridBagConstraints.RELATIVE; | |||||||||||
42 | layout.setConstraints(templatesLabel, c); |
| 59 | layout.setConstraints(trashLabel, c); | ||||||||||
43 | folderPanel.add(templatesLabel); |
| 60 | folderPanel.add(trashLabel); | ||||||||||
44 | c.gridwidth = GridBagConstraints.REMAINDER; | 61 | c.gridwidth = GridBagConstraints.REMAINDER; | |||||||||||
45 | c.weightx = 0.9; | 62 | c.weightx = 0.9; | |||||||||||
46 | layout.setConstraints(templatesButton, c); |
| 63 | layout.setConstraints(trashButton, c); | ||||||||||
47 | folderPanel.add(templatesButton); |
| 64 | folderPanel.add(trashButton); |
Row | Violation |
---|