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); LineChart bc = (LineChart)element; xItems.setText(bc.getXAxis()); yItems.setText(bc.getYAxis()); xAxisLabel.setText(bc.getXLabel()); yAxisLabel.setText(bc.getYLabel()); caption.setText(bc.getCaption()); urls.setText(bc.getURLs());
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/LineGraphGui.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
        LineChart bc = (LineChart)element;
4
        xItems.setText(bc.getXAxis());
4
        xItems.setText(bc.getXAxis());
5
        yItems.setText(bc.getYAxis());
5
        yItems.setText(bc.getYAxis());
6
        xAxisLabel.setText(bc.getXLabel());
6
        xAxisLabel.setText(bc.getXLabel());
7
        yAxisLabel.setText(bc.getYLabel());
7
        yAxisLabel.setText(bc.getYLabel());
8
        caption.setText(bc.getCaption());
8
        caption.setText(bc.getCaption());
9
        url.setText(bc.getURL());
9
        urls.setText(bc.getURLs());
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