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 fillAddressView(AddressModel)
|
Method name: void fillAddressView(AddressModel)
|
|||
Number of AST nodes: 7 | Number of AST nodes: 8 | |||
1 | private↵ | 1 | if (m.getType() == AddressModel.TYPE_OTHER) {↵ | |
2 | CityTextField.setText(m.getCity());↵ | 2 | otherCityTextField.setText(m.getCity());↵ | |
3 | privateCountryTextField.setText(m.getCountry());↵ | 3 | otherCountryTextField.setText(m.getCountry());↵ | |
4 | privatePOBoxTextField.setText(m.getPoBox());↵ | 4 | otherPOBoxTextField.setText(m.getPoBox());↵ | |
5 | privateStateProvinceCountyTextField.setText(m↵ | 5 | otherStateProvinceCountyTextField.setText(m↵ | |
6 | .getStateProvinceCounty());↵ | 6 | .getStateProvinceCounty());↵ | |
7 | privateZipPostalCodeTextField.setText(m.getZipPostalCode());↵ | 7 | otherZipPostalCodeTextField.setText(m.getZipPostalCode());↵ | |
8 | privateAddressTextArea.setText(m.getLabel());↵ | 8 | otherAddressTextArea.setText(m.getLabel());↵ | |
9 | privateStreetTextField.setText(m.getStreet()); | 9 | otherStreetTextField.setText(m.getStreet());↵ | |
10 |
| |||
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 | 49 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10 | privateCityTextField.setText(m.getCity()); |
| 18 | otherCityTextField.setText(m.getCity()); | ||||||||||
11 | privateCountryTextField.setText(m.getCountry()); |
| 19 | otherCountryTextField.setText(m.getCountry()); | ||||||||||
12 | privatePOBoxTextField.setText(m.getPoBox()); |
| 20 | otherPOBoxTextField.setText(m.getPoBox()); | ||||||||||
13 | privateStateProvinceCountyTextField.setText(m.getStateProvinceCounty()); |
| 21 | otherStateProvinceCountyTextField.setText(m.getStateProvinceCounty()); | ||||||||||
14 | privateZipPostalCodeTextField.setText(m.getZipPostalCode()); |
| 22 | otherZipPostalCodeTextField.setText(m.getZipPostalCode()); | ||||||||||
15 | privateAddressTextArea.setText(m.getLabel()); |
| 23 | otherAddressTextArea.setText(m.getLabel()); | ||||||||||
16 | privateStreetTextField.setText(m.getStreet()); |
| 24 | otherStreetTextField.setText(m.getStreet()); |
Row | Violation |
---|