File path: /columba-1.4-src/plugins/org.columba.chat.altura/src/org/columba/chat/ui/dialog/AccountDialog.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/general/MailOptionsDialog.java | |||
Method name: void AccountDialog(IAccount)
|
Method name: void MailOptionsDialog(JFrame)
|
|||
Number of AST nodes: 8 | Number of AST nodes: 7 | |||
1 | super(new Frame(), true);↵ | 1 | super(↵ | |
2 | this.account = account↵ | 2 | frame, MailResourceLoader.getString("dialog", "general",↵ | |
3 | ;↵ | 3 | "dialog_title"), true);↵ | |
4 | initComponents();↵ | 4 | initComponents();↵ | |
5 | layoutComponents();↵ | 5 | layoutComponents();↵ | |
6 | updateComponents(true);↵ | 6 | updateComponents(true);↵ | |
7 | pack();↵ | 7 | pack();↵ | |
8 | setLocationRelativeTo(null);↵ | 8 | setLocationRelativeTo(null);↵ | |
9 | setVisible(true); | 9 |
| |
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 | 56 |
Number of mapped statements | 6 |
Number of unmapped statements in the first code fragment | 2 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | ||||
---|---|---|---|---|---|---|---|
|
| 1 | super(frame, MailResourceLoader.getString("dialog", "general", "dialog_title"), true); | ||||
1 | super(new Frame(), true); | | |||||
2 | this.account = account; |
| | ||||
3 | initComponents(); | 2 | initComponents(); | ||||
4 | layoutComponents(); | 3 | layoutComponents(); | ||||
5 | updateComponents(true); | 4 | updateComponents(true); | ||||
6 | pack(); | 5 | pack(); | ||||
7 | setLocationRelativeTo(null); | 6 | setLocationRelativeTo(null); | ||||
8 | setVisible(true); | 7 | setVisible(true); |
Row | Violation |
---|---|
1 | Unmatched statement super(frame,MailResourceLoader.getString("dialog","general","dialog_title"),true); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
2 | Unmatched statement this.account=account; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |