boolean get90Percent() { return getPropertyAsBoolean(REPORT_TABLE_90_PERCENT); } public void set90Percent(String set) { setProperty(REPORT_TABLE_90_PERCENT,set); } public boolean getErrorRate() { return getPropertyAsBoolean(REPORT_TABLE_ERROR_RATE); }
boolean isRetobj() { return getPropertyAsBoolean(RETOBJ); } /*************************************************************************** * Sets the return objects attribute of the LDAPSampler object * **************************************************************************/ public void setRetobj(String newRobj) { this.setProperty(RETOBJ, newRobj); } /*************************************************************************** * Gets the deref attribute of the LDAPSampler object * * @return if dereferencing is required **************************************************************************/ public boolean isDeref() { return getPropertyAsBoolean(DEREF); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/AbstractTable.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean get90Percent() {
1
boolean isRetobj() {
2
    	return getPropertyAsBoolean(REPORT_TABLE_90_PERCENT);
2
		return getPropertyAsBoolean(RE
3
    }
4
    
5
    
3
TOBJ);
4
	}
5
	/***************************************************************************
6
	 * Sets the return objects attribute of the LDAPSampler object
7
	 * 
8
	 **************************************************************************/
6
public void set90Percent(String set) {
9
	public void setRetobj(String 
7
    	setProperty(REPORT_TABLE_90_PERCENT,set);
8
    }
9
    
10
    
10
newRobj) {
11
		this.setProperty(RETOBJ, newRobj);
12
	}
13
	/***************************************************************************
14
	 * Gets the deref attribute of the LDAPSampler object
15
	 * 
16
	 * @return if dereferencing is required
17
	 **************************************************************************/
11
public boolean getErrorRate() {
18
	public boolean isDeref() {
12
    	return getPropertyAsBoolean(REPORT_TABLE_ERROR_RATE);
19
		return getPropertyAsBoolean(
13
    
20
DEREF);
14
}
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