String getYAxis() { return getPropertyAsString(REPORT_CHART_Y_AXIS); } public 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);
String getSuccess(){ return getPropertyAsString(SUCCESS); } /** * set the success message * @param success */ public void setSuccess(String success){ setProperty(SUCCESS,success); } /** * get the success code defined by the user */ public String getSuccessCode(){ return getPropertyAsString(SUCCESSCODE); } /** * set the succes code. the success code should * be unique. * @param code */ public void setSuccessCode(String code){ setProperty(SUCCESSCODE,code); } /** * get the failure message */ public String getFailure(){ return getPropertyAsString(FAILURE);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/AbstractChart.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 getYAxis() {
1
String getSuccess(){
2
    	return getPropertyAsString(REPORT_CHART_Y_AXIS);
2
        return getPropertyAsString(SUCCESS);
3
    }
3
    }
4
    
4
    
5
    /**
6
     * set the success message
7
     * @param success
8
     */
5
    public void setYAxis(String scale) {
9
    public void setSuccess(String success){
6
    	setProperty(REPORT_CHART_Y_AXIS,scale);
10
        setProperty(
7
    }
11
SUCCESS,success);
12
    }
13
    
14
    /**
15
     * get the success code defined by the user
16
     */
8
    public String getXLabel() {
17
    public String getSuccessCode(){
9
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
18
        return getPropertyAsString(SUCCESSCODE);
10
    }
19
    }
11
    
12
    /**
20
    /**
13
     * The X data labels should be either the filename, date or some
21
     * 
14
     * other series of val
22
set the succes code. the success code should
15
ues
23
     * be unique.
16
     * @param label
24
     * @param code
17
     */
25
     */
18
    public void setXLabel(String label) {
26
    public void set
27
SuccessCode(String code){
19
    	setProperty(REPORT_CHART_X_LABEL,label);
28
        setProperty(
20
    }
21
    
29
SUCCESSCODE,code);
30
    }
31
    
32
    /**
33
     * get the failure message
34
     */
22
    public String getYLabel() {
35
    public String getFailure(){
23
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
36
        return getPropertyAsString(FAILURE);
24
    
37
    
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