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(inboxLabel, c);↵ | 3 | layout.setConstraints(templatesLabel, c);↵ | |
4 | folderPanel.add(inboxLabel);↵ | 4 | folderPanel.add(templatesLabel);↵ | |
5 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | 5 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | |
6 | c.weightx = 0.9;↵ | 6 | c.weightx = 0.9;↵ | |
7 | layout.setConstraints(inboxButton, c);↵ | 7 | layout.setConstraints(templatesButton, c);↵ | |
8 | folderPanel.add(inboxButton); | 8 | folderPanel.add(templatesButton); | |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24 | c.weightx = 0.1; | 40 | c.weightx = 0.1; | |||||||||||
25 | c.gridwidth = GridBagConstraints.RELATIVE; | 41 | c.gridwidth = GridBagConstraints.RELATIVE; | |||||||||||
26 | layout.setConstraints(inboxLabel, c); |
| 42 | layout.setConstraints(templatesLabel, c); | ||||||||||
27 | folderPanel.add(inboxLabel); |
| 43 | folderPanel.add(templatesLabel); | ||||||||||
28 | c.gridwidth = GridBagConstraints.REMAINDER; | 44 | c.gridwidth = GridBagConstraints.REMAINDER; | |||||||||||
29 | c.weightx = 0.9; | 45 | c.weightx = 0.9; | |||||||||||
30 | layout.setConstraints(inboxButton, c); |
| 46 | layout.setConstraints(templatesButton, c); | ||||||||||
31 | folderPanel.add(inboxButton); |
| 47 | folderPanel.add(templatesButton); |
Row | Violation |
---|