void setTitle(String title) { setProperty(REPORT_CHART_TITLE,title); } /** * The caption is a description for the chart explaining * what the chart means. * @return caption */ public String getCaption() { return getPropertyAsString(REPORT_CHART_CAPTION); } /** * The caption is a description for the chart explaining * what the chart means. * @param caption */ public void setCaption(String caption) { setProperty(REPORT_CHART_CAPTION,caption);
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);
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 setTitle(String title) {
1
void setXAxis(String field) {
2
    	setProperty(REPORT_CHART_TITLE,title);
2
    	setProperty(REPORT_CHART_X_AXIS,field);
3
    }
3
    }
4
    /**
4
    
5
     * The caption is a description for the chart explaining
6
     * what the chart means.
7
     * @return caption
8
     */
9
    public String getCaption() {
5
    public String getYAxis() {
10
        return getPropertyAsString(REPORT_CHART_CAPTION);
6
    	return getPropertyAsString(REPORT_CHART_Y_AXIS);
11
    }
7
    }
12
    
8
    
13
    /**
14
     * The caption is a description for the chart explaining
15
     * what the chart means.
16
     * @param caption
17
     */
18
    public void setCaption(String caption) {
9
    public void setYAxis(String scale) {
19
        setProperty(REPORT_CHART_CAPTION,caption);
10
    	setProperty(REPORT_CHART_Y_AXIS,scale);
20
    
11
    
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