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 isBinaryMode(){ return getPropertyAsBoolean(BINARY_MODE,false); } public boolean isSaveResponse(){ return getPropertyAsBoolean(SAVE_RESPONSE,false); } public boolean isUpload(){ return getPropertyAsBoolean(UPLOAD_FILE,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/ftp/sampler/FTPSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean isWhitespace() {
1
boolean isBinaryMode(){
2
		return getPropertyAsBoolean(WHITESPACE_KEY, false);
2
		return getPropertyAsBoolean(
3
	}
4
	/**
5
	 * Is this validating
6
	 * 
7
	 * @return boolean
8
	 */
3
BINARY_MODE,false);
4
	}
9
	public boolean isValidating() {
5
	public boolean isSaveResponse(){
10
		return getPropertyAsBoolean(VALIDATE_KEY, false);
6
		return getPropertyAsBoolean(SAVE_RESPONSE,false);
11
	}
7
	}
12
	/**
13
	 * Is this namespace aware?
14
	 * 
15
	 * @return boolean
16
	 */
17
	public boolean isNamespace() {
8
	public boolean isUpload(){
18
		return getPropertyAsBoolean(NAMESPACE_KEY, false);
9
		return getPropertyAsBoolean(UPLOAD_FILE,false);
19
	
10
	
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