boolean getUseKeepalive() {
return getPropertyAsBoolean(USE_KEEPALIVE, true);
}
public boolean getSamplerDownloadImages() {
return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
}
public boolean getRegexMatch() {
return getPropertyAsBoolean(REGEX_MATCH, false);
boolean isValidating() {
return getPropertyAsBoolean(VALIDATE_KEY, false);
}
/**
* Is this namespace aware?
*
* @return boolean
*/
public boolean isNamespace() {
return getPropertyAsBoolean(NAMESPACE_KEY, false);
}
/**
* Is this using tolerant mode?
*
* @return boolean
*/
public boolean isTolerant() {
return getPropertyAsBoolean(TOLERANT_KEY, false);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/proxy/ProxyControl.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/XPathAssertion.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | boolean getUseKeepalive() {↵ | | 1 | boolean isValidating() {↵
|
2 | return getPropertyAsBoolean(USE_KEEPALIVE, true);↵ | | 2 | return getPropertyAsBoolean(↵
|
3 | }↵ | | |
|
4 | ↵ | | |
|
5 | public boolean getSamplerDownloadImages↵ | | 3 | VALIDATE_KEY, false);↵
|
| | | 4 | }↵
|
|
| | | 5 | /**↵
|
| | | 6 | * Is this namespace aware?↵
|
| | | 7 | * ↵
|
| | | 8 | * @return boolean↵
|
| | | 9 | */↵
|
6 | () {↵ | | 10 | public boolean isNamespace() {↵
|
7 | return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);↵ | | 11 | return getPropertyAsBoolean(NAM↵
|
8 | }↵ | | |
|
| | | 12 | ESPACE_KEY, false);↵
|
| | | 13 | }↵
|
|
| | | 14 | /**↵
|
| | | 15 | * Is this using tolerant mode?↵
|
| | | 16 | * ↵
|
| | | 17 | * @return boolean↵
|
| | | 18 | */↵
|
9 | public boolean getRegexMatch() {↵ | | 19 | public boolean isTolerant() {↵
|
10 | return getPropertyAsBoolean(REGEX_MATCH, false);↵ | | 20 | return getPropertyAsBoolean(TOLERANT_KEY, false);↵
|
11 | | | 21 |
|
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 |