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: 18 | Number of AST nodes: 18 | |||
1 | case BYTE: buf.append('B'); return;↵ | 1 | case VOID: buf.append('V'); return;↵ | |
2 | case SHORT: buf.append('S'); return;↵ | 2 | case BOOLEAN: buf.append('Z'); return;↵ | |
3 | case INT: buf.append('I'); return;↵ | 3 | case CHAR: buf.append('C'); return;↵ | |
4 | case FLOAT: buf.append('F'); return;↵ | 4 | case BYTE: buf.append('B'); return;↵ | |
5 | case LONG: buf.append('J'); return;↵ | 5 | case SHORT: buf.append('S'); return;↵ | |
6 | case DOUBLE: buf.append('D'); return; | 6 | case INT: buf.append('I'); 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 | 189 |
Number of mapped statements | 18 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11 | case BYTE: | 11 | case BYTE: | |||||||||||
12 | buf.append('B'); | 12 | buf.append('B'); | |||||||||||
13 | return; |
| 13 | return; | ||||||||||
14 | case SHORT: | 14 | case SHORT: | |||||||||||
15 | buf.append('S'); | 15 | buf.append('S'); | |||||||||||
16 | return; |
| 16 | return; | ||||||||||
17 | case INT: | 17 | case INT: | |||||||||||
18 | buf.append('I'); | 18 | buf.append('I'); | |||||||||||
19 | return; |
| 19 | return; | ||||||||||
20 | case FLOAT: |
| 8 | case CHAR: | ||||||||||
21 | buf.append('F'); |
| 9 | buf.append('C'); | ||||||||||
22 | return; |
| 10 | return; | ||||||||||
23 | case LONG: |
| 5 | case BOOLEAN: | ||||||||||
24 | buf.append('J'); |
| 6 | buf.append('Z'); | ||||||||||
25 | return; |
| 7 | return; | ||||||||||
26 | case DOUBLE: |
| 2 | case VOID: | ||||||||||
27 | buf.append('D'); |
| 3 | buf.append('V'); | ||||||||||
28 | return; |
| 4 | 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; |
9 | Conditional return; |
10 | Conditional return; |
11 | Conditional return; |
12 | Conditional return; |