String getClassname() { return getPropertyAsString(CLASSNAME); } /** * Set the string label used to create an instance of the * test with the string constructor. * @param constr */ public void setConstructorString(String constr) { setProperty(CONSTRUCTORSTRING,constr); } /** * get the string passed to the string constructor */ public String getConstructorString() { return getPropertyAsString(CONSTRUCTORSTRING);
String getPort() { return getPropertyAsString(PORT); } /** * Sets the Rootdn attribute of the LDAPSampler object. * * @param newRootdn * the new rootdn value */ public void setRootdn(String newRootdn) { this.setProperty(ROOTDN, newRootdn); } /** * Gets the Rootdn attribute of the LDAPSampler object. * * @return the Rootdn value */ public String getRootdn() { return getPropertyAsString(ROOTDN);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getClassname()
1
String get
2
    {
3
        return getPropertyAsString(CLASSNAME);
4
    }
5
    
6
    
2
Port() {
3
		return getPropertyAsString(PORT);
4
	}
7
/**
5
	/**
8
     * Set the string label used to create an instance of the
6
	 * Sets the 
9
     * test with the string constructor.
10
     * @param constr
11
     */
12
    public void setConstructorString(String constr)
13
    {
14
        setProperty(CONSTRUCTORSTRING,constr);
15
    }
16
    
17
    
7
Rootdn attribute of the LDAPSampler object.
8
	 * 
9
	 * @param newRootdn
10
	 *            the new rootdn value
11
	 */
12
	public void setRootdn(String newRootdn) {
13
		this.setProperty(ROOTDN, newRootdn);
14
	}
18
/**
15
	/**
19
     * get the string passed to the string constructor
16
	 * Gets the 
20
    
17
Rootdn attribute of the LDAPSampler object.
18
	 * 
19
	 * @return the Rootdn value
21
 */
20
	 */
22
    public String getConstructorString()
21
	public String get
23
    {
24
        
22
Rootdn() {
25
return getPropertyAsString(CONSTRUCTORSTRING);
23
		return getPropertyAsString(
26
    
24
ROOTDN);
25
	
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