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); } public void setYLabel(String label) { setProperty(REPORT_CHART_Y_LABEL,label); } /** * The title is a the name for the chart. A page link will * be generated using the title. The title will also be * used for a page index. * @return chart title */ public String getTitle() { return getPropertyAsString(REPORT_CHART_TITLE); } /** * The title is a the name for the chart. A page link will * be generated using the title. The title will also be * used for a page index. * @param title */ public void setTitle(String title) { setProperty(REPORT_CHART_TITLE,title); }
String getCSS() { return getPropertyAsString(REPORT_PAGE_CSS); } public void setCSS(String css) { setProperty(REPORT_PAGE_CSS,css); } public String getHeaderURL() { return getPropertyAsString(REPORT_PAGE_HEADER); } public void setHeaderURL(String url) { setProperty(REPORT_PAGE_HEADER,url); } public String getFooterURL() { return getPropertyAsString(REPORT_PAGE_FOOTER); } public void setFooterURL(String url) { setProperty(REPORT_PAGE_FOOTER,url); } public String getIntroduction() { return getPropertyAsString(REPORT_PAGE_INTRO); } public void setIntroduction(String intro) { setProperty(REPORT_PAGE_INTRO,intro); }
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/ReportPage.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getYAxis() {
1
String getCSS() {
2
    	return getPropertyAsString(REPORT_CHART_Y_AXIS);
2
        return getPropertyAsString(REPORT_PAGE_CSS);
3
    }
3
    }
4
    
4
    
5
    public void setYAxis(String scale) {
5
    public void setCSS(String css) {
6
    	setProperty(REPORT_CHART_Y_AXIS,scale);
6
        setProperty(REPORT_PAGE_CSS,css);
7
    }
7
    }
8
    
8
    public String getXLabel() {
9
    public String getHeaderURL() {
9
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
10
        return getPropertyAsString(REPORT_PAGE_HEADER);
10
    }
11
    }
11
    
12
    
12
    /**
13
     * The X data labels should be either the filename, date or some
14
     * other series of values
15
     * @param label
16
     */
17
    public void setXLabel(String label) {
13
    public void setHeaderURL(String url) {
18
    	setProperty(REPORT_CHART_X_LABEL,label);
14
        setProperty(REPORT_PAGE_HEADER,url);
19
    }
15
    }
20
    
16
    
21
    public String getYLabel() {
17
    public String getFooterURL() {
22
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
18
        return getPropertyAsString(REPORT_PAGE_FOOTER);
23
    }
19
    }
24
    
20
    
25
    public void setYLabel(String label) {
21
    public void setFooterURL(String url) {
26
    	setProperty(REPORT_CHART_Y_LABEL,label);
22
        setProperty(REPORT_PAGE_FOOTER,url);
27
    }
23
    }
28
    
24
    
29
    /**
25
    
30
     * The title is a the name for the chart. A page link will
31
     * be generated using the title. The title will also be
32
     * used for a page index.
33
     * @return chart title
34
     */
35
    public String getTitle() {
26
public String getIntroduction() {
36
    	return getPropertyAsString(REPORT_CHART_TITLE);
27
        return getPropertyAsString(REPORT_PAGE_INTRO);
37
    }
28
    }
38
    
29
    
39
    /**
30
    
40
     * The title is a the name for the chart. A page link will
41
     * be generated using the title. The title will also be
42
     * used for a page index.
43
     * @param title
44
     */
45
    public void setTitle(String title) {
31
public void setIntroduction(String intro) {
46
    	setProperty(REPORT_CHART_TITLE,title);
32
        setProperty(REPORT_PAGE_INTRO,intro);
47
    }
33
    }
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