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 initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 5 | Number of AST nodes: 5 | |||
1 | inboxLabel = new LabelWithMnemonic(MailResourceLoader.getString(↵ | 1 | trashLabel = new LabelWithMnemonic(MailResourceLoader.getString(↵ | |
2 | "dialog", "account", "inbox_folder")); //$NON-NLS-1$↵ | 2 | "dialog", "account", "trash_folder")); //$NON-NLS-1$ ↵ | |
3 | inboxButton = new JButton();↵ | 3 | trashButton = new JButton();↵ | |
4 | inboxButton.setActionCommand("INBOX"); //$NON-NLS-1$↵ | 4 | trashButton.setActionCommand("TRASH"); //$NON-NLS-1$↵ | |
5 | inboxButton.addActionListener(this);↵ | 5 | trashButton.addActionListener(this);↵ | |
6 | inboxLabel.setLabelFor(inboxButton); | 6 | trashLabel.setLabelFor(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 | 12 |
Number of mapped statements | 5 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5 | inboxLabel = new LabelWithMnemonic(MailResourceLoader.getString("dialog", "account", "inbox_folder")); |
| 26 | trashLabel = new LabelWithMnemonic(MailResourceLoader.getString("dialog", "account", "trash_folder")); | |||||||||||||
6 | inboxButton = new JButton(); |
| 27 | trashButton = new JButton(); | |||||||||||||
7 | inboxButton.setActionCommand("INBOX"); |
| 28 | trashButton.setActionCommand("TRASH"); | |||||||||||||
8 | inboxButton.addActionListener(this); |
| 29 | trashButton.addActionListener(this); | |||||||||||||
9 | inboxLabel.setLabelFor(inboxButton); |
| 30 | trashLabel.setLabelFor(trashButton); |
Row | Violation |
---|