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); }
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 getSamplerRedirectAutomatically() {
1
boolean isNamespace() {
2
		return getPropertyAsBoolean(SAMPLER_REDIRECT_AUTOMATICALLY, false);
2
		return getPropertyAsBoolean(NAM
3
	}
4
	public bo
3
ESPACE_KEY, false);
4
	}
5
	/**
5
olean getSamplerFollowRedirects() {
6
	 * Is this using toleran
6
		return getPropertyAsBoolean(SAMPLER_FOLLOW_REDIRECTS, true);
7
	}
8
	
7
t mode?
8
	 * 
9
	 * @return boolean
10
	 */
11
	public boolean isTolerant() {
12
		return getPropertyAsBoolean(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
	 */
9
	public boolean getUseKeepalive() {
19
	public boolean isNegated() {
10
		return getPropertyAsBoolean(USE_KEEPALIVE, true);
20
		return getPropertyAsBoolean(NEGATE_KEY, false);
11
	}
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