File path: /emf-2.4.1/src/org/eclipse/emf/ecore/resource/URIConverter.java | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLString.java | |||
Method name: void WriteableOutputStream(Writer, String)
|
Method name: void XMLString(int, String, String, String)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | super();↵ | 1 | s↵ | |
2 | this.writer = writer;↵ | |||
3 | this.encoding = encoding↵ | 2 | aveDoctype = true;↵ | |
3 | this.publicId = publicId;↵ | |||
4 | ; | 4 | this.systemId = systemId; | |
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 |
Number of node comparisons | 8 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 2 |
Number of unmapped statements in the second code fragment | 2 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super(); | | |||||||||||||||||
2 | this.writer = writer; | | |||||||||||||||||
| 3 | saveDoctype = true; | |||||||||||||||||
3 | this.encoding = encoding; |
| 4 | this.publicId = publicId; | |||||||||||||||
| 5 | this.systemId = systemId; |
Row | Violation |
---|---|
1 | Expression this.encoding is a field being modified, and thus it cannot be parameterized |
2 | Expression this.publicId is a field being modified, and thus it cannot be parameterized |