File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLLoadImpl.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLLoadImpl.java | |||
Method name: void load(XMLResource, InputStream, Map,?>)
|
Method name: void load(XMLResource, InputSource, Map,?>)
|
|||
Number of AST nodes: 2 | Number of AST nodes: 2 | |||
1 | if (parserProperties == null || parserProperties.get(SAX_LEXICAL_PROPERTY) == null) ↵ | 1 | if (parserProperties == null || parserProperties.get(SAX_LEXICAL_PROPERTY) == null) ↵ | |
2 | {↵ | 2 | {↵ | |
3 | parser.setProperty(SAX_LEXICAL_PROPERTY, handler);↵ | 3 | parser.setProperty(SAX_LEXICAL_PROPERTY, handler);↵ | |
4 | } | 4 |
| |
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.5 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 5 |
Number of mapped statements | 2 |
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) | 2.6 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
45 | if (parserProperties == null || parserProperties.get(SAX_LEXICAL_PROPERTY) == null) |
| 23 | if (parserProperties == null || parserProperties.get(SAX_LEXICAL_PROPERTY) == null) | |||||||||||||||||||
46 | parser.setProperty(SAX_LEXICAL_PROPERTY, handler); | 24 | parser.setProperty(SAX_LEXICAL_PROPERTY, handler); |
Row | Violation |
---|---|
1 | Type java.util.Map<java.lang.String,> of variable parserProperties does not match with type java.util.Map<java.lang.String,> of variable parserProperties |
2 | Type of variable parserProperties.get(SAX_LEXICAL_PROPERTY) does not match with type of variable parserProperties.get(SAX_LEXICAL_PROPERTY) |
3 | Type java.util.Map<java.lang.String,> of variable parserProperties does not match with type java.util.Map<java.lang.String,> of variable parserProperties |