File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/namespace/impl/XMLNamespacePackageImpl.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/impl/XMLTypePackageImpl.java | |||
Method name: void createExtendedMetaDataAnnotations()
|
Method name: void createExtendedMetaDataAnnotations()
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | addAnnotation↵ | 1 | addAnnotation↵ | |
2 | (getXMLNamespaceDocumentRoot_Mixed(), ↵ | 2 | (getXMLTypeDocumentRoot_Mixed(), ↵ | |
3 | source, ↵ | 3 | source, ↵ | |
4 | new String[] ↵ | 4 | new String[] ↵ | |
5 | {↵ | 5 | {↵ | |
6 | "kind", "elementWildcard",↵ | 6 | "kind", "elementWildcard",↵ | |
7 | "name", ":mixed"↵ | 7 | "name", ":mixed"↵ | |
8 | }); ↵ | 8 | }); ↵ | |
9 | addAnnotation↵ | 9 | addAnnotation↵ | |
10 | (getXMLNamespaceDocumentRoot_XMLNSPrefixMap(), ↵ | 10 | (getXMLTypeDocumentRoot_XMLNSPrefixMap(), ↵ | |
11 | source, ↵ | 11 | source, ↵ | |
12 | new String[] ↵ | 12 | new String[] ↵ | |
13 | {↵ | 13 | {↵ | |
14 | "kind", "attribute",↵ | 14 | "kind", "attribute",↵ | |
15 | "name", "xmlns:prefix"↵ | 15 | "name", "xmlns:prefix"↵ | |
16 | }); ↵ | 16 | }); ↵ | |
17 | addAnnotation↵ | 17 | addAnnotation↵ | |
18 | (getXMLNamespaceDocumentRoot_XSISchemaLocation(), ↵ | 18 | (getXMLTypeDocumentRoot_XSISchemaLocation(), ↵ | |
19 | source, ↵ | 19 | source, ↵ | |
20 | new String[] ↵ | 20 | new String[] ↵ | |
21 | {↵ | 21 | {↵ | |
22 | "kind", "attribute",↵ | 22 | "kind", "attribute",↵ | |
23 | "name", "xsi:schemaLocation"↵ | 23 | "name", "xsi:schemaLocation"↵ | |
24 | }); | 24 |
| |
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 | 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 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7 | addAnnotation(getXMLNamespaceDocumentRoot_Mixed(), source, new String[] {"kind", "elementWildcard", "name", ":mixed"}); |
| 72 | addAnnotation(getXMLTypeDocumentRoot_Mixed(), source, new String[] {"kind", "elementWildcard", "name", ":mixed"}); | ||||||||||||
8 | addAnnotation(getXMLNamespaceDocumentRoot_XMLNSPrefixMap(), source, new String[] {"kind", "attribute", "name", "xmlns:prefix"}); |
| 73 | addAnnotation(getXMLTypeDocumentRoot_XMLNSPrefixMap(), source, new String[] {"kind", "attribute", "name", "xmlns:prefix"}); | ||||||||||||
9 | addAnnotation(getXMLNamespaceDocumentRoot_XSISchemaLocation(), source, new String[] {"kind", "attribute", "name", "xsi:schemaLocation"}); |
| 74 | addAnnotation(getXMLTypeDocumentRoot_XSISchemaLocation(), source, new String[] {"kind", "attribute", "name", "xsi:schemaLocation"}); |
Row | Violation |
---|---|
1 | Expression getXMLNamespaceDocumentRoot_XMLNSPrefixMap() cannot be parameterized, because it has dependencies to/from statements that will be extracted |
2 | Expression getXMLTypeDocumentRoot_XMLNSPrefixMap() cannot be parameterized, because it has dependencies to/from statements that will be extracted |
3 | Expression getXMLNamespaceDocumentRoot_XSISchemaLocation() cannot be parameterized, because it has dependencies to/from statements that will be extracted |
4 | Expression getXMLTypeDocumentRoot_XSISchemaLocation() cannot be parameterized, because it has dependencies to/from statements that will be extracted |