File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/functions/LogFunction.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/functions/LogFunction.java | |||
Method name: void printDetails(java.io.PrintStream, String, Throwable, String)
|
Method name: void logDetails(Logger, String, String, Throwable, String)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | sb.append(tn);↵ | 1 | sb.append(tn);↵ | |
2 | if (c.length()>0){↵ | 2 | if (c.length()>0){↵ | |
3 | sb.append(" ");↵ | 3 | sb.append(" ");↵ | |
4 | sb.append(c);↵ | 4 | sb.append(c);↵ | |
5 | } else {↵ | 5 | } else {↵ | |
6 | sb.append(DEFAULT_SEPARATOR);↵ | 6 | sb.append(DEFAULT_SEPARATOR);↵ | |
7 | }↵ | 7 | }↵ | |
8 | sb.append(s); | 8 | sb.append(s); | |
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.3 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 20 |
Number of mapped statements | 6 |
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.5 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
4 | sb.append(tn); | 9 | sb.append(tn); | |
5 | if (c.length() > 0) | 10 | if (c.length() > 0) | |
6 | sb.append(" "); | 11 | sb.append(" "); | |
7 | sb.append(c); | 12 | sb.append(c); | |
else | else | |||
8 | sb.append(DEFAULT_SEPARATOR); | 13 | sb.append(DEFAULT_SEPARATOR); | |
9 | sb.append(s); | 14 | sb.append(s); |
Row | Violation |
---|