File path: /jEdit-4.2/src/org/objectweb/asm/CodeWriter.java | File path: /jEdit-4.2/src/org/objectweb/asm/CodeWriter.java | |||
Method name: void put(ByteVector)
|
Method name: void put(ByteVector)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | if (lineNumber != null) {↵ | 1 | if (localVar != null) {↵ | |
2 | out.put2(cw.newUTF8("LineNumberTable").index);↵ | 2 | out.put2(cw.newUTF8("LocalVariableTable").index);↵ | |
3 | out.put4(lineNumber.length + 2).put2(lineNumberCount);↵ | 3 | out.put4(localVar.length + 2).put2(localVarCount);↵ | |
4 | out.putByteArray(lineNumber.data, 0, lineNumber.length);↵ | 4 | out.putByteArray(localVar.data, 0, localVar.length);↵ | |
5 | } | 5 |
| |
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.3 |
Clones location | Clones are in the same method |
Number of node comparisons | 17 |
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) | 6.5 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
34 | if (lineNumber != null) |
| 30 | if (localVar != null) | |||||||||||||
35 | out.put2(cw.newUTF8("LineNumberTable").index); |
| 31 | out.put2(cw.newUTF8("LocalVariableTable").index); | |||||||||||||
36 | out.put4(lineNumber.length + 2).put2(lineNumberCount); |
| 32 | out.put4(localVar.length + 2).put2(localVarCount); | |||||||||||||
37 | out.putByteArray(lineNumber.data, 0, lineNumber.length); |
| 33 | out.putByteArray(localVar.data, 0, localVar.length); |
Row | Violation |
---|