public void configure(TestElement element) { super.configure(element); BarChart bc = (BarChart)element; xItems.setText(bc.getXAxis()); yItems.setText(bc.getYAxis()); xAxisLabel.setText(bc.getXLabel()); yAxisLabel.setText(bc.getYLabel()); caption.setText(bc.getCaption()); url.setText(bc.getURL());
public void configure(TestElement element) { super.configure(element); ReportPage page = (ReportPage)element; cssURL.setText(page.getCSS()); footerURL.setText(page.getFooterURL()); headerURL.setText(page.getHeaderURL()); makeIndex.setSelected(page.getIndex()); introduction.setText(page.getIntroduction()); pageTitle.setText(page.getTitle());
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/BarChartGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/ReportPageGui.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void configure(TestElement element) {
1
public void configure(TestElement element) {
2
        super.configure(element);
2
        super.configure(element);
3
        BarChart bc = (BarChart)element;
3
        ReportPage page = (ReportPage)element;
4
        xItems.setText(bc.getXAxis());
4
        cssURL.setText(page.getCSS());
5
        yItems.setText(bc.getYAxis());
5
        footerURL.setText(page.getFooterURL());
6
        xAxisLabel.setText(bc.getXLabel());
6
        headerURL.setText(page.getHeaderURL());
7
        yAxisLabel.setText(bc.getYLabel());
7
        makeIndex.setSelected(page.getIndex());
8
        caption.setText(bc.getCaption());
8
        introduction.setText(page.getIntroduction());
9
        url.setText(bc.getURL());
9
        pageTitle.setText(page.getTitle());
10
    
10
    
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