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 setDataValue(String)
|
Method name: void setDataValue(String)
|
|||
Number of AST nodes: 5 | Number of AST nodes: 5 | |||
1 | String oldDataValue = getDataValue();↵ | 1 | String oldDataValue = getDataValue();↵ | |
2 | valueString = newDataValue;↵ | 2 | valueString = newDataValue;↵ | |
3 | value = null;↵ | 3 | value = null;↵ | |
4 | if (eNotificationRequired())↵ | 4 | if (eNotificationRequired())↵ | |
5 | eNotify(new ENotificationImpl(this, Notification.SET, ChangePackage.FEATURE_CHANGE__DATA_VALUE, oldDataValue, newDataValue)); | 5 |
| |
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.1 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 11 |
Number of mapped statements | 5 |
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) | 1.1 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
1 | String oldDataValue = getDataValue(); | 1 | String oldDataValue = getDataValue(); | |
2 | valueString = newDataValue; | 2 | valueString = newDataValue; | |
3 | value = null; | 3 | value = null; | |
4 | if (eNotificationRequired()) | 4 | if (eNotificationRequired()) | |
5 | eNotify(new ENotificationImpl(this, Notification.SET, ChangePackage.FEATURE_CHANGE__DATA_VALUE, oldDataValue, newDataValue)); | 5 | eNotify(new ENotificationImpl(this, Notification.SET, ChangePackage.FEATURE_CHANGE__DATA_VALUE, oldDataValue, newDataValue)); |
Row | Violation |
---|