void setXPathQuery(String val){ setProperty(XPATH_QUERY,val); } public String getXPathQuery(){ return getPropertyAsString(XPATH_QUERY); } public void setRefName(String refName) { setProperty(REFNAME, refName); }
void setClassname(String classname) { setProperty(CLASSNAME, classname); } /** * Gets the Classname attribute of the JavaConfig object * * @return the Classname value */ public 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); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/extractor/XPathExtractor.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
void setXPathQuery(String val){
1
void set
2
        setProperty(XPATH_QUERY,val);
2
Classname(String classname)
3
    {
4
        setProperty(CLASSNAME, classname);
3
   
5
    }
4
    }
6
    /**
7
     * Gets the Classname attribute of the JavaConfig object
8
     *
9
     * @return  the Classname value
5
    
10
     */
6
    public String getXPathQuery()
11
    public String getClassname()
7
{
12
    {
8
        return getPropertyAsString(XPATH_QUERY);
13
        return getPropertyAsString(CLASSNAME);
9
    }
14
    }
10
  
15
  
11
	public void setRefName(String refName) {
12
		setProperty(REFNAME, refName);
13
	
16
  
17
    /**
18
     * Set the string label used to create an instance of the
19
     * test with the string constructor.
20
     * @param constr
21
     */
22
    public void setConstructorString(String constr)
23
    {
24
        setProperty(CONSTRUCTORSTRING,constr);
14
}
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