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);
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);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/XPathAssertion.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 isWhitespace() {
1
boolean getSamplerFollowRedirects() {
2
		return getPropertyAsBoolean(WHITESPACE_KEY, false);
2
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
3
	}
3
	}
4
	/**
4
	
5
	 * Is this validating
6
	 * 
7
	 * @return boolean
8
	 */
9
	public boolean isValidating() {
5
	public boolean getUseKeepalive() {
10
		return getPropertyAsBoolean(VALIDATE_KEY, false);
6
		return getPropertyAsBoolean(
11
	}
12
	/**
13
	 * Is this namespace aware?
14
	 * 
15
	 * @return boolean
16
	 */
17
	public boolean isNamespace
7
USE_KEEPALIVE, true);
8
	}
9
	
18
() {
10
	public boolean getSamplerDownloadImages() {
19
		return getPropertyAsBoolean(NAMESPACE_KEY, false);
11
		return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
20
	
12
	
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