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 fillEmailView(IEmailModel, JComboBox, JTextField)
|
Method name: void fillPhoneView(PhoneModel, JComboBox, JTextField)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 3 | |||
1 | if (m.getType() == EmailModel.TYPE_WORK)↵ | |||
2 | comboBox.setSelectedIndex(0);↵ | 1 | telephoneComboBox.setSelectedIndex(7);↵ | |
3 | else if (m.getType() == EmailModel.TYPE_HOME)↵ | 2 | else if (m.getType() == PhoneModel.TYPE_ISDN)↵ | |
4 | comboBox.setSelectedIndex(1);↵ | 3 | telephoneComboBox.setSelectedIndex(8);↵ | |
5 | else if (m.getType() == EmailModel.TYPE_OTHER)↵ | 4 | else if (m.getType() == PhoneModel.TYPE_↵ | |
6 | c↵ | 5 | MOBILE_PHONE)↵ | |
7 | omboBox.setSelectedIndex(2); | 6 | telephoneComboBox.setSelectedIndex(9); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 0 |
Number of mapped statements | 0 |
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 | Unknown type |
ID | Statement | ID | Statement |
---|
Row | Violation |
---|