File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/accountlist/AccountListDialog.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/filter/ConfigFrame.java | |||
Method name: void initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | removeButton.setActionCommand("REMOVE");↵ | 1 | removeButton.setActionCommand("REMOVE");↵ | |
2 | removeButton.setEnabled(false);↵ | 2 | removeButton.setEnabled(false);↵ | |
3 | removeButton.addActionListener(this);↵ | 3 | removeButton.addActionListener(this);↵ | |
4 | editButton = new ButtonWithMnemonic(MailResourceLoader.getString(↵ | 4 | editButton = new ButtonWithMnemonic(MailResourceLoader.getString(↵ | |
5 | "dialog", "account", "editsettings"));↵ | 5 | "dialog", "filter", "edit_filter"));↵ | |
6 | editButton.setActionCommand("EDIT");↵ | 6 | editButton.setActionCommand("EDIT");↵ | |
7 | editButton.setEnabled(false);↵ | 7 | editButton.setEnabled(false);↵ | |
8 | editButton.addActionListener(this); | 8 |
| |
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 different classes having the same super class |
Number of node comparisons | 37 |
Number of mapped statements | 7 |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9 | removeButton.setActionCommand("REMOVE"); | 9 | removeButton.setActionCommand("REMOVE"); | ||||||||||||||
10 | removeButton.setEnabled(false); | 10 | removeButton.setEnabled(false); | ||||||||||||||
11 | removeButton.addActionListener(this); | 11 | removeButton.addActionListener(this); | ||||||||||||||
12 | editButton = new ButtonWithMnemonic(MailResourceLoader.getString("dialog", "account", "editsettings")); |
| 12 | editButton = new ButtonWithMnemonic(MailResourceLoader.getString("dialog", "filter", "edit_filter")); | |||||||||||||
13 | editButton.setActionCommand("EDIT"); | 13 | editButton.setActionCommand("EDIT"); | ||||||||||||||
14 | editButton.setEnabled(false); | 14 | editButton.setEnabled(false); | ||||||||||||||
15 | editButton.addActionListener(this); | 15 | editButton.addActionListener(this); |
Row | Violation |
---|