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: boolean eIsSet(int)
|
Method name: boolean eIsSet(int)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | case ChangePackage.FEATURE_CHANGE__VALUE:↵ | 1 | case ChangePackage.FEATURE_MAP_ENTRY__VALUE:↵ | |
2 | return VALUE_EDEFAULT == null ? getValue() != null : !VALUE_EDEFAULT.equals(getValue());↵ | 2 | return VALUE_EDEFAULT == null ? getValue() != null : !VALUE_EDEFAULT.equals(getValue());↵ | |
3 | case ChangePackage.FEATURE_CHANGE__FEATURE:↵ | 3 | case ChangePackage.FEATURE_MAP_ENTRY__FEATURE:↵ | |
4 | return isSetFeature();↵ | 4 | return isSetFeature();↵ | |
5 | case ChangePackage.FEATURE_CHANGE__REFERENCE_VALUE:↵ | 5 | case ChangePackage.FEATURE_MAP_ENTRY__REFERENCE_VALUE:↵ | |
6 | return basicGetReferenceValue() != null; | 6 |
| |
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 different classes having the same super class |
Number of node comparisons | 24 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8 | case ChangePackage.FEATURE_CHANGE__VALUE: |
| 6 | case ChangePackage.FEATURE_MAP_ENTRY__VALUE: | ||||||||||
9 | return VALUE_EDEFAULT == null ? getValue() != null : !VALUE_EDEFAULT.equals(getValue()); | 7 | return VALUE_EDEFAULT == null ? getValue() != null : !VALUE_EDEFAULT.equals(getValue()); | |||||||||||
10 | case ChangePackage.FEATURE_CHANGE__FEATURE: |
| 8 | case ChangePackage.FEATURE_MAP_ENTRY__FEATURE: | ||||||||||
11 | return isSetFeature(); | 9 | return isSetFeature(); | |||||||||||
12 | case ChangePackage.FEATURE_CHANGE__REFERENCE_VALUE: |
| 10 | case ChangePackage.FEATURE_MAP_ENTRY__REFERENCE_VALUE: | ||||||||||
13 | return basicGetReferenceValue() != null; | 11 | return basicGetReferenceValue() != null; |
Row | Violation |
---|