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 getRefName() { return getPropertyAsString(REFNAME); } public void setDefaultValue(String val) { setProperty(DEFAULT, val); } public String getDefaultValue() { return getPropertyAsString(DEFAULT);
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/extractor/XPathExtractor.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getClassname()
1
String get
2
    {
3
        
2
RefName() {
4
return getPropertyAsString(CLASSNAME);
3
		return getPropertyAsString(REFNAME);
5
    }
4
	}
6
    
5
    
7
    /**
6
    
8
     * Set the string label used to create an instance of 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
    /**
18
     * get the string passed to the string constructor
19
     */
20
    public String getConstructorString()
21
    {
22
        
7
public void setDefaultValue(String val) {
8
		setProperty(DEFAULT, val);
9
	}
10
	public String getDefaultValue() {
23
return getPropertyAsString(CONSTRUCTORSTRING);
11
		return getPropertyAsString(
24
    
12
DEFAULT);
13
	
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