void setSuccessCode(String code){ setProperty(SUCCESSCODE,code); } /** * get the failure message */ public String getFailure(){ return getPropertyAsString(FAILURE); } /** * set the failure message * @param fail */ public void setFailure(String fail){ setProperty(FAILURE,fail); } /** * The failure code is used by other components */ public String getFailureCode(){ return getPropertyAsString(FAILURECODE);
void setYAxis(String scale) { setProperty(REPORT_CHART_Y_AXIS,scale); } public String getXLabel() { return getPropertyAsString(REPORT_CHART_X_LABEL); } /** * The X data labels should be either the filename, date or some * other series of values * @param label */ public void setXLabel(String label) { setProperty(REPORT_CHART_X_LABEL,label); } public String getYLabel() { return getPropertyAsString(REPORT_CHART_Y_LABEL);
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/testelement/AbstractChart.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setSuccessCode(String code){
1
void setYAxis(String scale) {
2
        setProperty(SUCCESSCODE,code);
2
    	setProperty(
3
    }
4
    
5
    /**
6
     * get the failure message
7
     */
3
REPORT_CHART_Y_AXIS,scale);
4
    }
8
    public String getFailure(){
5
    public String getXLabel() {
9
        return getPropertyAsString(FAILURE);
6
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
10
    }
7
    }
8
    
11
    /**
9
    /**
12
     * set the failure message
10
     * The X data labels should be either the filename, date or some
11
     * other series of values
13
     * @param fail
12
     * @param label
14
     */
13
     */
15
    public void setFailure(String fail){
14
    public void setXLabel(String label) {
16
        setProperty(FAILURE,fail);
15
    	setProperty(
17
    }
18
    
19
    /**
20
     * The failure code is used by other components
21
     */
16
REPORT_CHART_X_LABEL,label);
17
    }
18
    
22
    public String getFailureCode(){
19
    public String getYLabel() {
23
        return getPropertyAsString(FAILURECODE);
20
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
24
    
21
    
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