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 isWhitespace() { return getPropertyAsBoolean(WHITESPACE_KEY, false); } /** * Is this validating * * @return boolean */ public boolean isValidating() { return getPropertyAsBoolean(VALIDATE_KEY, false); } /** * Is this namespace aware? * * @return boolean */ public boolean isNamespace() { return getPropertyAsBoolean(NAMESPACE_KEY, false); } /** * Is this using tolerant mode? * * @return boolean */ public boolean isTolerant() { return getPropertyAsBoolean(TOLERANT_KEY, 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/assertions/XPathAssertion.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean getSamplerRedirectAutomatically() {
1
boolean isWhitespace() {
2
		return getPropertyAsBoolean(SAMPLER_REDIRECT_AUTOMATICALLY, false);
2
		return getPropertyAsBoolean(
3
	}
4
	public boolean getSamplerFollowRedirects
3
WHITESPACE_KEY, false);
4
	}
5
	/**
6
	 * Is this validating
7
	 * 
8
	 * @return boolean
9
	 */
5
() {
10
	public boolean isValidating() {
6
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
11
		return getPropertyAsBoolean(
7
	}
8
	
12
VALIDATE_KEY, false);
13
	}
14
	/**
15
	 * Is this namespace aware?
16
	 * 
17
	 * @return boolean
18
	 */
9
	public boolean getUseKeepalive() {
19
	public boolean isNamespace() {
10
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
20
		return getPropertyAsBoolean(
11
	}
12
	
13
	public boolean getSamplerDownloadImages
21
NAMESPACE_KEY, false);
22
	}
23
	/**
24
	 * Is this using tolerant mode?
25
	 * 
26
	 * @return boolean
27
	 */
14
() {
28
	public boolean isTolerant() {
15
		return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
29
		return getPropertyAsBoolean(TOLERANT_KEY, false);
16
	}
30
	}
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