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); }
void setXAxis(String field) { setProperty(REPORT_CHART_X_AXIS,field); } public 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); }
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/org/apache/jmeter/testelement/AbstractChart.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setYAxis(String scale) {
1
void setXAxis(String field) {
2
    	setProperty(REPORT_CHART_Y_AXIS,scale);
2
    	setProperty(REPORT_CHART_X_AXIS,field);
3
    }
3
    }
4
    
4
    public String getXLabel() {
5
    public String getYAxis() {
5
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
6
    	return getPropertyAsString(REPORT_CHART_Y_AXIS);
6
    }
7
    }
7
    
8
    
8
    /**
9
     * The X data labels should be either the filename, date or some
10
     * other series of values
11
     * @param label
12
     */
13
    public void setXLabel(String label) {
9
    public void setYAxis(String scale) {
14
    	setProperty(REPORT_CHART_X_LABEL,label);
10
    	setProperty(REPORT_CHART_Y_AXIS,scale);
15
    }
11
    }
16
    
17
    public String getYLabel() {
12
    public String getXLabel() {
18
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
13
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
19
    }
14
    }
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