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 setIndex(String makeIndex) { setProperty(REPORT_PAGE_INDEX,makeIndex); } public String getCSS() { return getPropertyAsString(REPORT_PAGE_CSS); } public void setCSS(String css) { setProperty(REPORT_PAGE_CSS,css);
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
void setTitle(String title) {
1
void setIndex(String makeIndex) {
2
    	setProperty(REPORT_CHART_TITLE,title);
2
        setProperty(REPORT_
3
    }
4
    /**
5
     * The caption is a description for the chart explaining
6
     * what the chart means.
7
     * @return caption
8
     */
3
PAGE_INDEX,makeIndex);
4
    }
5
    
9
    public String getCaption() {
6
    public String getCSS() {
10
        return getPropertyAsString(REPORT_CHART_CAPTION);
7
        return getPropertyAsString(REPORT_PAGE_CSS);
11
    }
8
    }
12
    
9
    
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) {
10
    public void setCSS(String css) {
19
        setProperty(REPORT_CHART_CAPTION,caption);
11
        setProperty(REPORT_PAGE_CSS,css);
20
    
12
    
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