public void configure(TestElement element) { super.configure(element); Table tb = (Table)element; meanCheck.setSelected(tb.getMean()); medianCheck.setSelected(tb.getMedian()); maxCheck.setSelected(tb.getMax()); minCheck.setSelected(tb.getMin()); fiftypercentCheck.setSelected(tb.get50Percent()); nintypercentCheck.setSelected(tb.get90Percent()); errorRateCheck.setSelected(tb.getErrorRate()); responseRateCheck.setSelected(tb.getResponseRate()); transferRateCheck.setSelected(tb.getTransferRate());
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());
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/TableGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/BarChartGui.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
        Table tb = (Table)element;
3
        
4
        meanCheck.setSelected(tb.getMean());
5
        medianCheck.setSelected(tb.getMedian());
6
        maxCheck.setSelected(tb.getMax());
7
        minCheck.setSelected(tb.getMin());
8
        fiftypercentCheck.setSelected(tb.get50Percent());
9
        nintypercentCheck.setSelected(tb.get90Percent());
10
        errorRateCheck.setSelected(tb.getErrorRate());
11
        responseRateCheck.setSelected(tb.getResponseRate());
12
        transferRateCheck.setSelected(tb.getTransferRate
4
BarChart bc = (BarChart)element;
5
        xItems.setText(bc.getXAxis());
6
        yItems.setText(bc.getYAxis());
7
        xAxisLabel.setText(bc.getXLabel());
8
        yAxisLabel.setText(bc.getYLabel());
9
        caption.setText(bc.getCaption());
13
());
10
        url.setText(bc.getURL());
14
    
11
    
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