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);
boolean getSamplerDownloadImages() { return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false); } public boolean getRegexMatch() { return getPropertyAsBoolean(REGEX_MATCH, false); } public boolean getHttpsSpoof() { return getPropertyAsBoolean(HTTPS_SPOOF, 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/http/proxy/ProxyControl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean getSamplerRedirectAutomatically() {
1
boolean getSamplerDownloadImages() {
2
		return getPropertyAsBoolean(SAMPLER_REDIRECT_AUTOMATICALLY, false);
2
		return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
3
	}
3
	}
4
	public boolean getSamplerFollowRedirects() {
4
	public boolean getRegexMatch() {
5
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
5
		return getPropertyAsBoolean(REGEX_MATCH, false);
6
	}
6
	}
7
	
7
	
8
	public boolean getUseKeepalive() {
8
	public boolean getHttpsSpoof() {
9
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
9
		return getPropertyAsBoolean(HTTPS_SPOOF, false);
10
	
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