File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/JMeter.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/JMeterReport.java | |||
Method name: void start(String[])
|
Method name: void start(String[])
|
|||
Number of AST nodes: 5 | Number of AST nodes: 5 | |||
1 | if (null != error) {↵ | 1 | if (null != ↵ | |
2 | System.err.println("Error: " + error);↵ | |||
3 | ↵ | 2 | parser.getErrorString()) {↵ | |
3 | System.err.println("Error: " + parser.getErrorString());↵ | |||
4 | System.out.println("Usage");↵ | 4 | System.out.println("Usage");↵ | |
5 | System.out.println(CLUtil.describeOptions(options).toString());↵ | 5 | System.out.println(CLUtil.describeOptions(options).toString());↵ | |
6 | return;↵ | 6 | return;↵ | |
7 | } | 7 | } | |
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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 25 |
Number of mapped statements | 5 |
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) | 2.2 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8 | if (null != error) |
| 2 | if (null != parser.getErrorString()) | ||||||||||
9 | System.err.println("Error: " + error); |
| 3 | System.err.println("Error: " + parser.getErrorString()); | ||||||||||
10 | System.out.println("Usage"); | 4 | System.out.println("Usage"); | |||||||||||
11 | System.out.println(CLUtil.describeOptions(options).toString()); | 5 | System.out.println(CLUtil.describeOptions(options).toString()); | |||||||||||
12 | return; |
| 6 | return; |
Row | Violation |
---|---|
1 | Conditional return; |
2 | Conditional return; |