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 isNamespace() { return getPropertyAsBoolean(NAMESPACE_KEY, false); } /** * Is this using tolerant mode? * * @return boolean */ public boolean isTolerant() { return getPropertyAsBoolean(TOLERANT_KEY, false); } /** * Negate the XPath test, that is return true if something is not found. * * @return boolean negated */ public boolean isNegated() { return getPropertyAsBoolean(NEGATE_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 isNamespace() {
2
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
2
		return getPropertyAsBoolean(NAM
3
	}
4
	
3
ESPACE_KEY, false);
4
	}
5
	/**
6
	 * Is this using tolerant mode?
7
	 * 
8
	 * @return boolean
9
	 */
5
	public boolean getUseKeepalive() {
10
	public boolean isTolerant() {
6
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
11
		return getPropertyAsBoolean(
7
	}
8
	
9
	public boolean getSamplerDownloadImages
12
TOLERANT_KEY, false);
13
	}
14
	/**
15
	 * Negate the XPath test, that is return true if something is not found.
16
	 * 
17
	 * @return boolean negated
18
	 */
10
() {
19
	public boolean isNegated() {
11
		return getPropertyAsBoolean(SAMPLER_DOWNLOAD_IMAGES, false);
20
		return getPropertyAsBoolean(NEGATE_KEY, false);
12
	}
21
	}
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