String getXmlData() { return getPropertyAsString(XML_DATA); } /** * Set the soap action which should be in the form of an URN. * * @param data */ public void setSoapAction(String data) { setProperty(SOAP_ACTION, data); } /** * Return the soap action string. * * @return String soap action */ public String getSoapAction() { return getPropertyAsString(SOAP_ACTION); }
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); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java File path: /jakarta-jmeter-2.3.2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getXmlData() {
1
String get
2
		return getPropertyAsString(XML_DATA);
3
	}
4
	
2
Classname()
3
    {
4
        return getPropertyAsString(CLASSNAME);
5
    }
6
    
5
/**
7
    /**
6
	 * Set the soap action which should be in the form of an URN.
8
     * Set the s
7
	 * 
8
	 * @param data
9
	
9
tring label used to create an instance of the
10
     * test with the string constructor.
11
     * @param constr
10
 */
12
     */
11
	public void setSoapAction(String data) {
13
    public void set
12
		
14
ConstructorString(String constr)
15
    {
13
setProperty(SOAP_ACTION, data);
16
        setProperty(
14
	}
15
	
17
CONSTRUCTORSTRING,constr);
18
    }
19
    
16
/**
20
    /**
17
	 * Return the soap action string.
21
     * get the s
18
	 * 
19
	 * @return String soap action
20
	
22
tring passed to the string constructor
21
 */
23
     */
22
	public String getSoapAction() {
24
    public String get
23
		
25
ConstructorString()
26
    {
24
return getPropertyAsString(SOAP_ACTION);
27
        return getPropertyAsString(
25
	
28
CONSTRUCTORSTRING);
26
}
29
    }
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