File path: /jEdit-4.2/src/org/objectweb/asm/Type.java | File path: /jEdit-4.2/src/org/objectweb/asm/Type.java | |||
Method name: void getDescriptor(StringBuffer)
|
Method name: void getDescriptor(StringBuffer)
|
|||
Number of AST nodes: 12 | Number of AST nodes: 12 | |||
1 | case VOID: buf.append('V'); return;↵ | 1 | case INT: buf.append('I'); return;↵ | |
2 | case BOOLEAN: buf.append('Z'); return;↵ | 2 | case FLOAT: buf.append('F'); return;↵ | |
3 | case CHAR: buf.append('C'); return;↵ | 3 | case LONG: buf.append('J'); return;↵ | |
4 | case BYTE: buf.append('B'); return; | 4 | case DOUBLE: buf.append('D'); return; | |
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 the same method |
Number of node comparisons | 90 |
Number of mapped statements | 12 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | case VOID: |
| 17 | case INT: | ||||||||||
3 | buf.append('V'); |
| 18 | buf.append('I'); | ||||||||||
4 | return; |
| 19 | return; | ||||||||||
5 | case BOOLEAN: |
| 20 | case FLOAT: | ||||||||||
6 | buf.append('Z'); |
| 21 | buf.append('F'); | ||||||||||
7 | return; |
| 22 | return; | ||||||||||
8 | case CHAR: |
| 23 | case LONG: | ||||||||||
9 | buf.append('C'); |
| 24 | buf.append('J'); | ||||||||||
10 | return; |
| 25 | return; | ||||||||||
11 | case BYTE: |
| 26 | case DOUBLE: | ||||||||||
12 | buf.append('B'); |
| 27 | buf.append('D'); | ||||||||||
13 | return; |
| 28 | return; |
Row | Violation |
---|---|
1 | Conditional return; |
2 | Conditional return; |
3 | Conditional return; |
4 | Conditional return; |
5 | Conditional return; |
6 | Conditional return; |
7 | Conditional return; |
8 | Conditional return; |