File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/ESuperAdapter.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/ESuperAdapter.java | |||
Method name: void setFlags(int)
|
Method name: void setFlags(int)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | setAllReferencesCollectionModified(true);↵ | 1 | setAllAttributesCollectionModified(true);↵ | |
2 | setAllStructuralFeaturesCollectionModified(true);↵ | 2 | setAllStructuralFeaturesCollectionModified(true);↵ | |
3 | setAllContainmentsCollectionModified(true);↵ | 3 | setAllContainmentsCollectionModified(true);↵ | |
4 | break; | 4 |
| |
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 in the same method |
Number of node comparisons | 16 |
Number of mapped statements | 4 |
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 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9 | setAllReferencesCollectionModified(true); |
| 4 | setAllAttributesCollectionModified(true); | ||||||||||||
10 | setAllStructuralFeaturesCollectionModified(true); | 5 | setAllStructuralFeaturesCollectionModified(true); | |||||||||||||
11 | setAllContainmentsCollectionModified(true); | 6 | setAllContainmentsCollectionModified(true); | |||||||||||||
12 | break; | 7 | break; |
Row | Violation |
---|---|
1 | Expression setAllReferencesCollectionModified(true) is a void method call, and thus it cannot be parameterized |
2 | Expression setAllAttributesCollectionModified(true) is a void method call, and thus it cannot be parameterized |