boolean isBinaryMode(){
return getPropertyAsBoolean(BINARY_MODE,false);
}
public boolean isSaveResponse(){
return getPropertyAsBoolean(SAVE_RESPONSE,false);
}
public boolean isUpload(){
return getPropertyAsBoolean(UPLOAD_FILE,false);
}
boolean isNamespace() {
return getPropertyAsBoolean(NAMESPACE_KEY, false);
}
/**
* Is this using tolerant mode?
*
* @return boolean
*/
public boolean isTolerant() {
return getPropertyAsBoolean(TOLERANT_KEY, false);
}
/**
* Negate the XPath test, that is return true if something is not found.
*
* @return boolean negated
*/
public boolean isNegated() {
return getPropertyAsBoolean(NEGATE_KEY, false);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.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 isBinaryMode(){↵ | | 1 | boolean isNamespace() {↵
|
2 | return getPropertyAsBoolean(BINARY_MODE,false);↵ | | 2 | return getPropertyAsBoolean(NAMESPACE_KEY, false);↵
|
3 | }↵ | | 3 | }↵
|
|
| | | 4 | /**↵
|
| | | 5 | * Is this using tolerant mode?↵
|
| | | 6 | * ↵
|
| | | 7 | * @return boolean↵
|
| | | 8 | */↵
|
4 | public boolean isSaveResponse(){↵ | | 9 | public boolean isTolerant() {↵
|
5 | return getPropertyAsBoolean(SAVE_RESPONSE,false);↵ | | 10 | return getPropertyAsBoolean(TOLERANT_KEY, false);↵
|
6 | }↵ | | 11 | }↵
|
|
| | | 12 | /**↵
|
| | | 13 | * Negate the XPath test, that is return true if something is not found.↵
|
| | | 14 | * ↵
|
| | | 15 | * @return boolean negated↵
|
| | | 16 | */↵
|
7 | public boolean isUpload(){↵ | | 17 | public boolean isNegated() {↵
|
8 | return getPropertyAsBoolean(UPLOAD_FILE,false);↵ | | 18 | return getPropertyAsBoolean(NEGATE_KEY, false);↵
|
9 | } | | 19 | }
|
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 |