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(sentLabel, c);↵ | |
4 | folderPanel.add(inboxLabel);↵ | 4 | folderPanel.add(sentLabel);↵ | |
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(sentButton, c);↵ | |
8 | folderPanel.add(inboxButton); | 8 | folderPanel.add(sentButton); | |
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; | 48 | c.weightx = 0.1; | |||||||||||
25 | c.gridwidth = GridBagConstraints.RELATIVE; | 49 | c.gridwidth = GridBagConstraints.RELATIVE; | |||||||||||
26 | layout.setConstraints(inboxLabel, c); |
| 50 | layout.setConstraints(sentLabel, c); | ||||||||||
27 | folderPanel.add(inboxLabel); |
| 51 | folderPanel.add(sentLabel); | ||||||||||
28 | c.gridwidth = GridBagConstraints.REMAINDER; | 52 | c.gridwidth = GridBagConstraints.REMAINDER; | |||||||||||
29 | c.weightx = 0.9; | 53 | c.weightx = 0.9; | |||||||||||
30 | layout.setConstraints(inboxButton, c); |
| 54 | layout.setConstraints(sentButton, c); | ||||||||||
31 | folderPanel.add(inboxButton); |
| 55 | folderPanel.add(sentButton); |
Row | Violation |
---|