File path: /jakarta-jmeter-2.3.2/test/src/org/apache/jmeter/functions/PackageTest.java | File path: /jakarta-jmeter-2.3.2/test/src/org/apache/jmeter/functions/PackageTest.java | |||
Method name: Collection MakeParams(String, String, String)
|
Method name: StringFromFile SFFParams(String, String, String, String)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | if (p1 != null) {↵ | |||
2 | parms.add(new CompoundVariable(p1));↵ | |||
3 | }↵ | |||
4 | if (p2 != null) {↵ | 1 | if (p2 != null) {↵ | |
5 | parms.add(new CompoundVariable(p2));↵ | 2 | parms.add(new CompoundVariable(p2));↵ | |
6 | }↵ | 3 | }↵ | |
7 | if (p3 != null) {↵ | 4 | if (p3 != null) {↵ | |
8 | parms.add(new CompoundVariable(p3));↵ | 5 | parms.add(new CompoundVariable(p3));↵ | |
9 | } | 6 | }↵ | |
7 | if (p4 != null) {↵ | |||
8 | parms.add(new CompoundVariable(p4));↵ | |||
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.6 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 27 |
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) | 18.9 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | if (p1 != null) |
| 5 | if (p2 != null) | ||||||||||
3 | parms.add(new CompoundVariable(p1)); |
| 6 | parms.add(new CompoundVariable(p2)); | ||||||||||
4 | if (p2 != null) |
| 7 | if (p3 != null) | ||||||||||
5 | parms.add(new CompoundVariable(p2)); |
| 8 | parms.add(new CompoundVariable(p3)); | ||||||||||
6 | if (p3 != null) |
| 9 | if (p4 != null) | ||||||||||
7 | parms.add(new CompoundVariable(p3)); |
| 10 | parms.add(new CompoundVariable(p4)); |
Row | Violation |
---|