boolean getSamplerFollowRedirects() {
return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
}
public boolean getUseKeepalive() {
return getPropertyAsBoolean(USE_KEEPALIVE, true);
}
public boolean getSamplerDownloadImages() {
return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
}
boolean isBinaryMode(){
return getPropertyAsBoolean(BINARY_MODE,false);
}
public boolean isSaveResponse(){
return getPropertyAsBoolean(SAVE_RESPONSE,false);
}
public boolean isUpload(){
return getPropertyAsBoolean(UPLOAD_FILE,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/protocol/ftp/sampler/FTPSampler.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | boolean getSamplerFollowRedirects() {↵ | | 1 | boolean isBinaryMode(){↵
|
2 | return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);↵ | | 2 | return getPropertyAsBoolean(BINARY_MODE,false);↵
|
3 | }↵ | | 3 | }↵
|
4 | ↵ | | |
|
5 | public boolean getUseKeepalive() {↵ | | 4 | public boolean isSaveResponse(){↵
|
6 | return getPropertyAsBoolean(USE_KEEPALIVE, true);↵ | | 5 | return getPropertyAsBoolean(SAVE_RESPONSE,false);↵
|
7 | }↵ | | 6 | }↵
|
8 | ↵ | | |
|
9 | public boolean getSamplerDownloadImages() {↵ | | 7 | public boolean isUpload(){↵
|
10 | return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);↵ | | 8 | return getPropertyAsBoolean(UPLOAD_FILE,false);↵
|
11 | } | | 9 | }
|
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 |