File path: /columba-1.4-src/core/src/main/java/org/columba/core/io/SteerableInputStream.java | File path: /columba-1.4-src/core/src/main/java/org/columba/core/io/SteerableInputStream.java | |||
Method name: int read(byte[], int, int)
|
Method name: int read(byte[], int, int)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | int read = super.read(b, off, correctedLen);↵ | 1 | int read = super.read(b, off, len);↵ | |
2 | lengthLeft -= read;↵ | 2 | lengthLeft -= read;↵ | |
3 | position += read;↵ | 3 | position += read;↵ | |
4 | return read; | 4 | return read; | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 7 |
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.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | int read = super.read(b, off, correctedLen); |
| 7 | int read = super.read(b, off, len); | ||||||||||
4 | lengthLeft -= read; | 8 | lengthLeft -= read; | |||||||||||
5 | position += read; | 9 | position += read; | |||||||||||
6 | return read; | 10 | return read; |
Row | Violation |
---|