boolean useUrl() {
String prop = getPropertyAsString(MATCH_AGAINST);
return USE_URL.equalsIgnoreCase(prop);
}
public boolean useCode() {
String prop = getPropertyAsString(MATCH_AGAINST);
return USE_CODE.equalsIgnoreCase(prop);
}
boolean useCode() {
String prop = getPropertyAsString(MATCH_AGAINST);
return USE_CODE.equalsIgnoreCase(prop);
}
public boolean useMessage() {
String prop = getPropertyAsString(MATCH_AGAINST);
return USE_MESSAGE.equalsIgnoreCase(prop);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/RegexExtractor.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/RegexExtractor.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | boolean useUrl() {↵ | | 1 | boolean useCode() {↵
|
2 | String prop = getPropertyAsString(MATCH_AGAINST);↵ | | 2 | String prop = getPropertyAsString(MATCH_AGAINST);↵
|
3 | return USE_URL.equalsIgnoreCase(prop);↵ | | 3 | return USE_CODE.equalsIgnoreCase(prop);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public boolean useCode() {↵ | | 5 | public boolean useMessage() {↵
|
6 | String prop = getPropertyAsString(MATCH_AGAINST);↵ | | 6 | String prop = getPropertyAsString(MATCH_AGAINST);↵
|
7 | return USE_CODE.equalsIgnoreCase(prop);↵ | | 7 | return USE_MESSAGE.equalsIgnoreCase(prop);↵
|
8 | } | | 8 | }
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |