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.saveSampleCount()) {↵ | 1 | if↵ | |
2 | text.append(CSV_SAMPLE_COUNT);↵ | |||
3 | text.append(delim);↵ | |||
4 | text.append(CSV_ERROR_COUNT);↵ | |||
5 | text.append(delim);↵ | |||
6 | ↵ | 2 | (firstMultipart) {↵ | |
3 | output.write(DASH_DASH);↵ | |||
4 | output.write(boundaryString.getBytes(ISO_8859_1));↵ | |||
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.8 |
Clone type | Type 3 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
50 | if (saveConfig.saveSampleCount()) |
| 3 | if (firstMultipart) | ||||||||||
| 4 | output.write(DASH_DASH); | ||||||||||||
| 5 | output.write(boundaryString.getBytes(ISO_8859_1)); | ||||||||||||
| 6 | output.write(CRLF); | ||||||||||||
51 | text.append(CSV_SAMPLE_COUNT); | | ||||||||||||
52 | text.append(delim); | | ||||||||||||
53 | text.append(CSV_ERROR_COUNT); | | ||||||||||||
54 | text.append(delim); | |
Row | Violation |
---|