File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLResourceImpl.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLResourceImpl.java | |||
Method name: void doLoad(InputSource, Map,?>)
|
Method name: void doLoad(Node, Map,?>)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | XMLLoad xmlLoad = createXMLLoad();↵ | 1 | XMLLoad xmlLoad = createXMLLoad();↵ | |
2 | if (options == null)↵ | 2 | if (options == null)↵ | |
3 | {↵ | 3 | {↵ | |
4 | options = Collections.EMPTY_MAP;↵ | 4 | options = Collections.EMPTY_MAP;↵ | |
5 | }↵ | 5 | }↵ | |
6 | ↵ | |||
6 | xmlLoad.load(this, inputSource, options); | 7 | xmlLoad.load(this, node, options); | |
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.1 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 8 |
Number of mapped statements | 4 |
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.5 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | XMLLoad xmlLoad = createXMLLoad(); | 1 | XMLLoad xmlLoad = createXMLLoad(); | |||||||||||||||
2 | if (options == null) |
| 2 | if (options == null) | ||||||||||||||
3 | options = Collections.EMPTY_MAP; | 3 | options = Collections.EMPTY_MAP; | |||||||||||||||
4 | xmlLoad.load(this, inputSource, options); |
| 4 | xmlLoad.load(this, node, options); |
Row | Violation |
---|---|
1 | Type java.util.Map<,> of variable options does not match with type java.util.Map<,> of variable options |
2 | Type org.xml.sax.InputSource of variable inputSource does not match with type org.w3c.dom.Node of variable node |