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: 3 | |||
1 | setAllReferencesCollectionModified(true);↵ | 1 | setAll↵ | |
2 | setAllStructuralFeaturesCollectionModified(true);↵ | 2 | OperationsCollectionModified(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 | 12 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9 | setAllReferencesCollectionModified(true); | | ||||||||||||||
10 | setAllStructuralFeaturesCollectionModified(true); |
| 20 | setAllOperationsCollectionModified(true); | ||||||||||||
11 | setAllContainmentsCollectionModified(true); | 21 | setAllContainmentsCollectionModified(true); | |||||||||||||
12 | break; | 22 | break; |
Row | Violation |
---|---|
1 | Expression setAllStructuralFeaturesCollectionModified(true) is a void method call, and thus it cannot be parameterized |
2 | Expression setAllOperationsCollectionModified(true) is a void method call, and thus it cannot be parameterized |