File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/util/WSDLHelper.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/util/WSDLHelper.java | |||
Method name: String[] getWebMethods()
|
Method name: String[] getWebMethods()
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | if (opers.getLength() == 0) {↵ | 1 | if (opers.getLength() == 0) {↵ | |
2 | opers = ((Element) act).getElementsByTagName("wsdlsoap:operation");↵ | 2 | opers = ((Element) act).getElementsByTagName("wsdl:operation");↵ | |
3 | }↵ | 3 | }↵ | |
4 | if (opers.getLength() == 0) {↵ | 4 | if (opers.getLength() == 0) {↵ | |
5 | opers = ((Element) act).getElementsByTagName("wsdl:operation");↵ | 5 | opers = ((Element) act).getElementsByTagName("operation");↵ | |
6 | } | 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.5 |
Clones location | Clones are in the same method |
Number of node comparisons | 14 |
Number of mapped statements | 4 |
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) | 1.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4 | if (opers.getLength() == 0) | 6 | if (opers.getLength() == 0) | |||||||||||
5 | opers = ((Element)act).getElementsByTagName("wsdlsoap:operation"); |
| 7 | opers = ((Element)act).getElementsByTagName("wsdl:operation"); | ||||||||||
6 | if (opers.getLength() == 0) | 8 | if (opers.getLength() == 0) | |||||||||||
7 | opers = ((Element)act).getElementsByTagName("wsdl:operation"); |
| 9 | opers = ((Element)act).getElementsByTagName("operation"); |
Row | Violation |
---|