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 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/http/proxy/ProxyControl.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 getSamplerRedirectAutomatically() {
2
		return getPropertyAsBoolean(SAMPLER_REDIRECT_AUTOMATICALLY, false);
3
	}
1
boolean getSamplerFollowRedirects() {
4
	public boolean getSamplerFollowRedirects() {
2
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
5
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
3
	}
6
	}
4
	
7
	
5
	public boolean getUseKeepalive() {
8
	public boolean getUseKeepalive() {
6
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
9
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
7
	}
10
	}
8
	
9
	public boolean getSamplerDownloadImages() {
10
		return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
11
	}
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