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);
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);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/testelement/ReportPage.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
String getCSS() {
1
String getYAxis() {
2
        return getPropertyAsString(REPORT_PAGE_CSS);
2
    	return getPropertyAsString(REPORT_CHART_Y_AXIS);
3
    }
3
    }
4
    
4
    
5
    public void setCSS(String css) {
5
    public void setYAxis(String scale) {
6
        setProperty(REPORT_PAGE_CSS,css);
6
    	setProperty(REPORT_CHART_Y_AXIS,scale);
7
    }
7
    }
8
    
9
    public String getHeaderURL() {
8
    public String getXLabel() {
10
        return getPropertyAsString(REPORT_PAGE_HEADER);
9
    	return getPropertyAsString(REPORT_CHART_X_LABEL);
11
    }
10
    }
12
    
11
    
12
    /**
13
     * The X data labels should be either the filename, date or some
14
     * other series of values
15
     * @param label
16
     */
13
    public void setHeaderURL(String url) {
17
    public void setXLabel(String label) {
14
        setProperty(REPORT_PAGE_HEADER,url);
18
    	setProperty(REPORT_CHART_X_LABEL,label);
15
    }
19
    }
16
    
20
    
17
    public String getFooterURL() {
21
    public String getYLabel() {
18
        return getPropertyAsString(REPORT_PAGE_FOOTER);
22
    	return getPropertyAsString(REPORT_CHART_Y_LABEL);
19
    }
23
    }
20
    
24
    
21
    public void setFooterURL(String url) {
25
    public void setYLabel(String label) {
22
        setProperty(REPORT_PAGE_FOOTER,url);
26
    	setProperty(REPORT_CHART_Y_LABEL,label);
23
    }
27
    }
24
    
28
    
25
    public String getIntroduction
29
    /**
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
     */
26
() {
35
    public String getTitle() {
27
        return getPropertyAsString(REPORT_PAGE_INTRO);
36
    	return getPropertyAsString(REPORT_CHART_TITLE);
28
    }
37
    }
29
    
38
    
30
    public void setIntroduction
39
    /**
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
     */
31
(String intro) {
45
    public void setTitle(String title) {
32
        setProperty(REPORT_PAGE_INTRO,intro);
46
    	setProperty(REPORT_CHART_TITLE,title);
33
    
47
    
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