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: 7 | |||
1 | workCityTextField.setText(m.getCity());↵ | 1 | privateCityTextField.setText(m.getCity());↵ | |
2 | workCountryTextField.setText(m.getCountry());↵ | 2 | privateCountryTextField.setText(m.getCountry());↵ | |
3 | workPOBoxTextField.setText(m.getPoBox());↵ | 3 | privatePOBoxTextField.setText(m.getPoBox());↵ | |
4 | workStateProvinceCountyTextField↵ | 4 | privateStateProvinceCountyTextField↵ | |
5 | .setText(m↵ | 5 | .setText(m↵ | |
6 | .getStateProvinceCounty());↵ | 6 | .getStateProvinceCounty());↵ | |
7 | workZipPostalCodeTextField.setText(m.getZipPostalCode());↵ | 7 | privateZipPostalCodeTextField.setText(m.getZipPostalCode());↵ | |
8 | workAddressTextArea.setText(m.getLabel());↵ | 8 | privateAddressTextArea.setText(m.getLabel());↵ | |
9 | workStreetTextField.setText(m.getStreet()); | 9 | privateStreetTextField.setText(m.getStreet()); | |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | workCityTextField.setText(m.getCity()); |
| 10 | privateCityTextField.setText(m.getCity()); | ||||||||||
3 | workCountryTextField.setText(m.getCountry()); |
| 11 | privateCountryTextField.setText(m.getCountry()); | ||||||||||
4 | workPOBoxTextField.setText(m.getPoBox()); |
| 12 | privatePOBoxTextField.setText(m.getPoBox()); | ||||||||||
5 | workStateProvinceCountyTextField.setText(m.getStateProvinceCounty()); |
| 13 | privateStateProvinceCountyTextField.setText(m.getStateProvinceCounty()); | ||||||||||
6 | workZipPostalCodeTextField.setText(m.getZipPostalCode()); |
| 14 | privateZipPostalCodeTextField.setText(m.getZipPostalCode()); | ||||||||||
7 | workAddressTextArea.setText(m.getLabel()); |
| 15 | privateAddressTextArea.setText(m.getLabel()); | ||||||||||
8 | workStreetTextField.setText(m.getStreet()); |
| 16 | privateStreetTextField.setText(m.getStreet()); |
Row | Violation |
---|