CloneSet 634

# CloneSet634

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
10 | 2 | 1 | 0.984 | method_declaration

Clone Abstraction | Parameter Bindings

Clone Instance (Click to see clone) | Line Count | Source Line | Source File
--- | --- | --- | ---

1

10

122

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/CombinedDomainXYPlotTests.java

2

10

124

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/CombinedRangeXYPlotTests.java

Next
Last

Clone Instance
1

Line Count
10

Source Line
122

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/CombinedDomainXYPlotTests.java

    /**
     * This is a test to replicate the bug report 987080.
     */
    public void testRemoveSubplot() {
      CombinedDomainXYPlot plot = new CombinedDomainXYPlot();
      XYPlot plot1 = new XYPlot();
      XYPlot plot2 = new XYPlot();
      plot.add(plot1);
      plot.add(plot2);
      // remove plot2, but plot1 is removed instead
      plot.remove(plot2);
      List plots = plot.getSubplots();
      assertTrue(plots.get(0) == plot1);
    }

First
Previous

Clone Instance
2

Line Count
10

Source Line
124

Source File

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/CombinedRangeXYPlotTests.java

    /**
     * This is a test to replicate the bug report 987080.
     */
    public void testRemoveSubplot() {
      CombinedRangeXYPlot plot = new CombinedRangeXYPlot();
      XYPlot plot1 = new XYPlot();
      XYPlot plot2 = new XYPlot();
      plot.add(plot1);
      plot.add(plot2);
      // remove plot2, but plot1 is removed instead
      plot.remove(plot2);
      List plots = plot.getSubplots();
      assertTrue(plots.get(0) == plot1);
    }

Clone Abstraction | Parameter Count: 1 | Parameter Bindings

    /**
         * This is a test to replicate the bug report 987080.
         */
    public void testRemoveSubplot() {
       [[#variable18cd69a0]] plot = new [[#variable18cd69a0]]();
      XYPlot plot1 = new XYPlot();
      XYPlot plot2 = new XYPlot();
      plot.add(plot1);
      plot.add(plot2);
      // remove plot2, but plot1 is removed instead
      plot.remove(plot2);
      List plots = plot.getSubplots();
      assertTrue(plots.get(0) == plot1);
    }

CloneAbstraction

Parameter Bindings
Parameter Index | Clone Instance | Parameter Name | Value
--- | --- | --- | ---

1

1

`[[#18cd69a0]]`

    CombinedDomainXYPlot

1

2

`[[#18cd69a0]]`

    CombinedRangeXYPlot