File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/save/CSVSaveService.java | File path: /jakarta-jmeter-2.3.2/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java | |||
Method name: String printableFieldNamesToString(SampleSaveConfiguration)
|
Method name: byte[] createExpectedFilepartOutput(String, String, File, String, byte[], boolean, boolean)
|
|||
Number of AST nodes: 5 | Number of AST nodes: 4 | |||
1 | if (saveConfig.saveThreadCounts()) {↵ | 1 | if↵ | |
2 | text.append(CSV_THREAD_COUNT1);↵ | |||
3 | text.append(delim);↵ | |||
4 | text.append(CSV_THREAD_COUNT2);↵ | |||
5 | text.append(delim↵ | 2 | (firstMultipart) {↵ | |
3 | output.write(DASH_DASH);↵ | |||
4 | output.write(boundaryString.getBytes(ISO_8859_1));↵ | |||
6 | );↵ | 5 | output.write(CRLF);↵ | |
7 | } | 6 |
| |
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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 20 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 4 |
Number of unmapped statements in the second code fragment | 3 |
Time elapsed for statement mapping (ms) | 1.6 |
Clone type | Type 3 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33 | if (saveConfig.saveThreadCounts()) |
| 3 | if (firstMultipart) | ||||||||||
| 4 | output.write(DASH_DASH); | ||||||||||||
| 5 | output.write(boundaryString.getBytes(ISO_8859_1)); | ||||||||||||
| 6 | output.write(CRLF); | ||||||||||||
34 | text.append(CSV_THREAD_COUNT1); | | ||||||||||||
35 | text.append(delim); | | ||||||||||||
36 | text.append(CSV_THREAD_COUNT2); | | ||||||||||||
37 | text.append(delim); | |
Row | Violation |
---|