File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/model/AddressModel.java | File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/model/AddressModel.java | |||
Method name: void AddressModel(String, String, String, String, String, String, String, String)
|
Method name: void AddressModel(String, String, String, String, String, String, String, int)
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | this.poBox = poBox;↵ | 1 | this.poBox = poBox;↵ | |
2 | this.street = street;↵ | 2 | this.street = street;↵ | |
3 | this.city = city;↵ | 3 | this.city = city;↵ | |
4 | this.zipPostalCode = zipPostalCode;↵ | 4 | this.zipPostalCode = zipPostalCode;↵ | |
5 | this.stateProvinceCounty = stateProvinceCounty;↵ | 5 | this.stateProvinceCounty = stateProvinceCounty;↵ | |
6 | this.country = country;↵ | 6 | this.country = country;↵ | |
7 | this.label = label; | 7 | this.type = type; | |
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 declared in the same class |
Number of node comparisons | 28 |
Number of mapped statements | 6 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||
---|---|---|---|---|---|---|---|
8 | this.poBox = poBox; | 3 | this.poBox = poBox; | ||||
9 | this.street = street; | 4 | this.street = street; | ||||
10 | this.city = city; | 5 | this.city = city; | ||||
11 | this.zipPostalCode = zipPostalCode; | 6 | this.zipPostalCode = zipPostalCode; | ||||
12 | this.stateProvinceCounty = stateProvinceCounty; | 7 | this.stateProvinceCounty = stateProvinceCounty; | ||||
13 | this.country = country; | 8 | this.country = country; | ||||
|
| 9 | this.type = type; | ||||
14 | this.label = label; |
| |
Row | Violation |
---|---|
1 | Unmatched statement this.type=type; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
2 | Unmatched statement this.label=label; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |