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