File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java | |||
Method name: void parseNodes(NodeIterator, URLPointer, URLCollection)
|
Method name: void parseNodes(NodeIterator, URLPointer, URLCollection)
|
|||
Number of AST nodes: 2 | Number of AST nodes: 2 | |||
1 | if (STYLESHEET.equalsIgnoreCase(tag.getAttribute(ATT_REL))) {↵ | 1 | if (ATT_IS_IMAGE.equalsIgnoreCase(tag.getAttribute(ATT_TYPE))) {↵ | |
2 | // then we need to download the binary↵ | |||
2 | binUrlStr = tag.getAttribute(ATT_HREF);↵ | 3 | binUrlStr = tag.getAttribute(ATT_SRC);↵ | |
3 | } | 4 |
| |
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.2 |
Clones location | Clones are in the same method |
Number of node comparisons | 6 |
Number of mapped statements | 2 |
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) | 6.5 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37 | if (STYLESHEET.equalsIgnoreCase(tag.getAttribute(ATT_REL))) |
| 23 | if (ATT_IS_IMAGE.equalsIgnoreCase(tag.getAttribute(ATT_TYPE))) | |||||||||||||
38 | binUrlStr = tag.getAttribute(ATT_HREF); |
| 24 | binUrlStr = tag.getAttribute(ATT_SRC); |
Row | Violation |
---|