File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/ServerPanel.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/ServerPanel.java | |||
Method name: ImageIcon getLoadImageIcon(int)
|
Method name: ImageIcon getLoadImageIcon(int)
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | return LOAD_1;↵ | |||
2 | } else if (load > 10 && load <= 20) {↵ | |||
1 | return LOAD_2;↵ | 3 | return LOAD_2;↵ | |
2 | } else if (load > 20 && load <= 30) {↵ | 4 | } else if (load > 20 && load <= 30) {↵ | |
3 | return LOAD_3;↵ | 5 | return LOAD_3;↵ | |
4 | } else if (load > 30 && load <= 40) {↵ | 6 | } else if (load > 30 && load <= 40) {↵ | |
5 | return LOAD_4;↵ | 7 | return LOAD_4;↵ | |
6 | } else if (load > 40 && load <= 50) {↵ | 8 | } else if (load > 40 && load <= 50) {↵ | |
7 | return LOAD_5;↵ | 9 | return LOAD_5;↵ | |
8 | } else if (load > 50 && load <= 60) {↵ | 10 | } else if (load > 50 && load <= 60) {↵ | |
9 | return LOAD_6;↵ | 11 | return LOAD_6;↵ | |
10 | } else if (load > 60 && load <= 70) {↵ | 12 | } else if (load > 60 && load <= 70) {↵ | |
11 | return LOAD_7;↵ | 13 | return LOAD_7;↵ | |
12 | } else if (load > 70 && load <= 80) {↵ | 14 | } else if (load > 70 && load <= 80) {↵ | |
13 | return LOAD_8;↵ | 15 |
| |
14 | } else if (load > 80 && load <= 90) {↵ | |||
15 | return LOAD_9; | |||
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 | 1 |
Number of mapped statements | 1 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4 | return LOAD_2; |
| 2 | return LOAD_1; |
Row | Violation |
---|