File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/impl/FeatureChangeImpl.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/impl/FeatureMapEntryImpl.java | |||
Method name: void eSet(int, Object)
|
Method name: void eSet(int, Object)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | case ChangePackage.FEATURE_CHANGE__FEATURE_NAME:↵ | 1 | case ChangePackage.FEATURE_MAP_ENTRY__FEATURE_NAME:↵ | |
2 | setFeatureName((String)newValue);↵ | 2 | setFeatureName((String)newValue);↵ | |
3 | return;↵ | 3 | return;↵ | |
4 | case ChangePackage.FEATURE_CHANGE__DATA_VALUE:↵ | 4 | case ChangePackage.FEATURE_MAP_ENTRY__DATA_VALUE:↵ | |
5 | setDataValue((String)newValue);↵ | 5 | setDataValue((String)newValue);↵ | |
6 | return; | 6 |
| |
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 different classes having the same super class |
Number of node comparisons | 27 |
Number of mapped statements | 6 |
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 | case ChangePackage.FEATURE_CHANGE__FEATURE_NAME: |
| 2 | case ChangePackage.FEATURE_MAP_ENTRY__FEATURE_NAME: | ||||||||||
3 | setFeatureName((String)newValue); | 3 | setFeatureName((String)newValue); | |||||||||||
4 | return; |
| 4 | return; | ||||||||||
5 | case ChangePackage.FEATURE_CHANGE__DATA_VALUE: |
| 5 | case ChangePackage.FEATURE_MAP_ENTRY__DATA_VALUE: | ||||||||||
6 | setDataValue((String)newValue); | 6 | setDataValue((String)newValue); | |||||||||||
7 | return; |
| 7 | return; |
Row | Violation |
---|---|
1 | Conditional return; |
2 | Conditional return; |
3 | Conditional return; |
4 | Conditional return; |