File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/contact/ContactEditorDialog.java | File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/contact/ContactEditorDialog.java | |||
Method name: void updateComponents(boolean)
|
Method name: void updateComponents(boolean)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | if (it.hasNext()) {↵ | 1 | if (it.hasNext()) {↵ | |
2 | IEmailModel m = (IEmailModel) it.next();↵ | 2 | IEmailModel m = (IEmailModel) it.next();↵ | |
3 | fillEmailView(m, emailComboBox2, emailTextField2);↵ | 3 | fillEmailView(m, emailComboBox3, emailTextField3);↵ | |
4 | } | 4 |
| |
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.1 |
Clones location | Clones are in the same method |
Number of node comparisons | 10 |
Number of mapped statements | 3 |
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) | 243.7 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
30 | if (it.hasNext()) | 33 | if (it.hasNext()) | ||||||||||||||
31 | IEmailModel m = (IEmailModel)it.next(); | 34 | IEmailModel m = (IEmailModel)it.next(); | ||||||||||||||
32 | fillEmailView(m, emailComboBox2, emailTextField2); |
| 35 | fillEmailView(m, emailComboBox3, emailTextField3); |
Row | Violation |
---|