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); } public boolean getSamplerDownloadImages() { return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false); }
boolean getUseKeepalive() { return getPropertyAsBoolean(USE_KEEPALIVE, true); } public 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 getUseKeepalive() {
2
		return getPropertyAsBoolean(SAMPLER_REDIRECT_AUTOMATICALLY, false);
2
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
3
	}
3
	}
4
	
4
	public boolean getSamplerFollowRedirects() {
5
	public boolean getSamplerDownloadImages() {
5
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
6
		return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
6
	}
7
	}
7
	
8
	public boolean getUseKeepalive() {
8
	public boolean getRegexMatch() {
9
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
9
		return getPropertyAsBoolean(REGEX_MATCH, false);
10
	}
10
	}
11
	
11
	
12
	public boolean getSamplerDownloadImages() {
12
	public boolean getHttpsSpoof() {
13
		return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
13
		return getPropertyAsBoolean(HTTPS_SPOOF, false);
14
	}
14
	}
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