boolean isBinaryMode(){ return getPropertyAsBoolean(BINARY_MODE,false); } public boolean isSaveResponse(){ return getPropertyAsBoolean(SAVE_RESPONSE,false); } public boolean isUpload(){ return getPropertyAsBoolean(UPLOAD_FILE,false);
boolean getSamplerRedirectAutomatically() { return getPropertyAsBoolean(SAMPLER_REDIRECT_AUTOMATICALLY, false); } public boolean getSamplerFollowRedirects() { return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true); } public boolean getUseKeepalive() { return getPropertyAsBoolean(USE_KEEPALIVE, true);
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/protocol/http/proxy/ProxyControl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean isBinaryMode(){
1
boolean getSamplerRedirectAutomatically() {
2
		return getPropertyAsBoolean(BINARY_MODE,false);
2
		return getPropertyAsBoolean(SAMPLER_REDIRECT_AUTOMATICALLY, false);
3
	}
3
	}
4
	public boolean isSaveResponse(){
4
	public boolean getSamplerFollowRedirects() {
5
		return getPropertyAsBoolean(SAVE_RESPONSE,false);
5
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
6
	}
6
	}
7
	
7
	public boolean isUpload(){
8
	public boolean getUseKeepalive() {
8
		return getPropertyAsBoolean(UPLOAD_FILE,false);
9
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
9
	
10
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0