File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EPackageImpl.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/impl/EPackageImpl.java | |||
Method name: EAttribute initEAttribute(EAttribute, EClassifier, String, String, int, int, Class>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean)
|
Method name: EAttribute initEAttribute(EAttribute, EGenericType, String, String, int, int, Class>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | initEStructuralFeature↵ | 1 | initEStructuralFeature↵ | |
2 | (a, ↵ | 2 | (a, ↵ | |
3 | type, ↵ | 3 | type, ↵ | |
4 | name, ↵ | 4 | name, ↵ | |
5 | defaultValue, ↵ | 5 | defaultValue, ↵ | |
6 | lowerBound, ↵ | 6 | lowerBound, ↵ | |
7 | upperBound, ↵ | 7 | upperBound, ↵ | |
8 | containerClass,↵ | 8 | containerClass,↵ | |
9 | isTransient, ↵ | 9 | isTransient, ↵ | |
10 | isVolatile, ↵ | 10 | isVolatile, ↵ | |
11 | isChangeable, ↵ | 11 | isChangeable, ↵ | |
12 | isUnsettable, ↵ | 12 | isUnsettable, ↵ | |
13 | isUnique, ↵ | 13 | isUnique, ↵ | |
14 | isDerived, ↵ | 14 | isDerived, ↵ | |
15 | isOrdered);↵ | 15 | isOrdered);↵ | |
16 | a.setID(isID);↵ | 16 | a.setID(isID);↵ | |
17 | return a; | 17 |
| |
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 declared in the same class |
Number of node comparisons | 9 |
Number of mapped statements | 3 |
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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | initEStructuralFeature(a, type, name, defaultValue, lowerBound, upperBound, containerClass, isTransient, isVolatile, isChangeable, isUnsettable, isUnique, isDerived, isOrdered); |
| 1 | initEStructuralFeature(a, type, name, defaultValue, lowerBound, upperBound, containerClass, isTransient, isVolatile, isChangeable, isUnsettable, isUnique, isDerived, isOrdered); | |||||||||||
2 | a.setID(isID); | 2 | a.setID(isID); | ||||||||||||
3 | return a; | 3 | return a; |
Row | Violation |
---|---|
1 | Type org.eclipse.emf.ecore.EClassifier of variable type does not match with type org.eclipse.emf.ecore.EGenericType of variable type |