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