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); }
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 getSamplerFollowRedirects() {
1
boolean isWhitespace() {
2
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
2
		return getPropertyAsBoolean(WHITESPACE_KEY, false);
3
	}
3
	}
4
	
4
	/**
5
	 * Is this validating
6
	 * 
7
	 * @return boolean
8
	 */
5
	public boolean getUseKeepalive() {
9
	public boolean isValidating() {
6
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
10
		return getPropertyAsBoolean(
7
	}
8
	
9
	public boolean getSamplerDownloadImages
11
VALIDATE_KEY, false);
12
	}
13
	/**
14
	 * Is this namespace aware?
15
	 * 
16
	 * @return boolean
17
	 */
10
() {
18
	public boolean isNamespace() {
11
		return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
19
		return getPropertyAsBoolean(NAMESPACE_KEY, false);
12
	}
20
	}
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