File path: /emf-2.4.1/src/org/eclipse/emf/edit/provider/WrapperItemProvider.java | File path: /emf-2.4.1/src/org/eclipse/emf/edit/domain/AdapterFactoryEditingDomain.java | |||
Method name: void WrapperItemProvider(Object, Object, EStructuralFeature, int, AdapterFactory)
|
Method name: void AdapterFactoryEditingDomain(AdapterFactory, CommandStack, Map
|
|||
Number of AST nodes: 5 | Number of AST nodes: 4 | |||
1 | this.value = value;↵ | 1 | this.↵ | |
2 | this.owner = owner↵ | 2 | adapterFactory = adapterFactory;↵ | |
3 | ;↵ | 3 | this.commandStack = commandStack;↵ | |
4 | this.feature = feature;↵ | 4 | this.↵ | |
5 | this.index = index;↵ | |||
6 | this.adapterFactory = adapterFactory↵ | 5 | resourceSet = new AdapterFactoryEditingDomainResourceSet();↵ | |
7 | ; | 6 | this.resourceToReadOnlyMap = resourceToReadOnlyMap; | |
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 |
Number of node comparisons | 20 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 4 |
Number of unmapped statements in the second code fragment | 3 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
1 | this.value = value; | | ||
| 2 | this.commandStack = commandStack; | ||
2 | this.owner = owner; | | ||
| 3 | this.resourceSet = new AdapterFactoryEditingDomainResourceSet(); | ||
3 | this.feature = feature; | | ||
| 4 | this.resourceToReadOnlyMap = resourceToReadOnlyMap; | ||
4 | this.index = index; | | ||
5 | this.adapterFactory = adapterFactory; | 1 | this.adapterFactory = adapterFactory; |
Row | Violation |
---|