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