27-3-4

public static Test suite() { TestSuite suite = new TestSuite("org.jfree.chart.plot"); suite.addTestSuite(CategoryMarkerTests.class); suite.addTestSuite(CategoryPlotTests.class); suite.addTestSuite(ColorPaletteTests.class); suite.addTestSuite(CombinedDomainCategoryPlotTests.class); suite.addTestSuite(CombinedDomainXYPlotTests.class); suite.addTestSuite(CombinedRangeCategoryPlotTests.class); suite.addTestSuite(CombinedRangeXYPlotTests.class); suite.addTestSuite(CompassPlotTests.class); suite.addTestSuite(ContourPlotTests.class); suite.addTestSuite(DefaultDrawingSupplierTests.class); suite.addTestSuite(FastScatterPlotTests.class); suite.addTestSuite(IntervalMarkerTests.class); suite.addTestSuite(MarkerTests.class); suite.addTestSuite(MeterIntervalTests.class); suite.addTestSuite(MeterPlotTests.class); suite.addTestSuite(MultiplePiePlotTests.class); suite.addTestSuite(PieLabelRecordTests.class); suite.addTestSuite(PiePlotTests.class); suite.addTestSuite(PiePlot3DTests.class); suite.addTestSuite(PlotOrientationTests.class); suite.addTestSuite(PlotRenderingInfoTests.class); suite.addTestSuite(PlotTests.class); suite.addTestSuite(PolarPlotTests.class); suite.addTestSuite(RingPlotTests.class); suite.addTestSuite(SpiderWebPlotTests.class); suite.addTestSuite(ThermometerPlotTests.class); suite.addTestSuite(ValueMarkerTests.class); suite.addTestSuite(XYPlotTests.class); return suite;
public static Test suite() { TestSuite suite = new TestSuite("org.jfree.chart"); suite.addTestSuite(AreaChartTests.class); suite.addTestSuite(BarChartTests.class); suite.addTestSuite(BarChart3DTests.class); suite.addTestSuite(ChartPanelTests.class); suite.addTestSuite(ChartRenderingInfoTests.class); suite.addTestSuite(GanttChartTests.class); suite.addTestSuite(HashUtilitiesTests.class); suite.addTestSuite(JFreeChartTests.class); suite.addTestSuite(LegendItemTests.class); suite.addTestSuite(LegendItemCollectionTests.class); suite.addTestSuite(LineChartTests.class); suite.addTestSuite(LineChart3DTests.class); suite.addTestSuite(MeterChartTests.class); suite.addTestSuite(PaintMapTests.class); suite.addTestSuite(PieChartTests.class); suite.addTestSuite(PieChart3DTests.class); suite.addTestSuite(ScatterPlotTests.class); suite.addTestSuite(StackedAreaChartTests.class); suite.addTestSuite(StackedBarChartTests.class); suite.addTestSuite(StackedBarChart3DTests.class); suite.addTestSuite(StrokeMapTests.class); suite.addTestSuite(TimeSeriesChartTests.class); suite.addTestSuite(WaterfallChartTests.class); suite.addTestSuite(XYAreaChartTests.class); suite.addTestSuite(XYBarChartTests.class); suite.addTestSuite(XYLineChartTests.class); suite.addTestSuite(XYStepAreaChartTests.class); suite.addTestSuite(XYStepChartTests.class); return suite;

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/PlotPackageTests.java |  | File path: /jfreechart-1.0.10/tests/org/jfree/chart/junit/ChartPackageTests.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    public static Test suite() {↵

1

    public static Test suite() {↵

2

            TestSuite suite = new TestSuite("org.jfree.chart.plot");↵

2

            TestSuite suite = new TestSuite("org.jfree.chart");↵

3

            suite.addTestSuite(CategoryMarkerTests.class);↵

3

            suite.addTestSuite(AreaChartTests.class);↵

4

            suite.addTestSuite(CategoryPlotTests.class);↵

4

            suite.addTestSuite(BarChartTests.class);↵

5

            suite.addTestSuite(ColorPaletteTests.class);↵

5

            suite.addTestSuite(BarChart3DTests.class);↵

6

            suite.addTestSuite(CombinedDomainCategoryPlotTests.class);↵

6

            suite.addTestSuite(ChartPanelTests.class);↵

7

            suite.addTestSuite(CombinedDomainXYPlotTests.class);↵

7

            suite.addTestSuite(ChartRenderingInfoTests.class);↵

8

            suite.addTestSuite(CombinedRangeCategoryPlotTests.class);↵

8

            suite.addTestSuite(GanttChartTests.class);↵

9

            suite.addTestSuite(CombinedRangeXYPlotTests.class);↵

9

            suite.addTestSuite(HashUtilitiesTests.class);↵

10

            suite.addTestSuite(CompassPlotTests.class);↵

10

            suite.addTestSuite(JFreeChartTests.class);↵

11

            suite.addTestSuite(ContourPlotTests.class);↵

11

            suite.addTestSuite(LegendItemTests.class);↵

12

            suite.addTestSuite(DefaultDrawingSupplierTests.class);↵

12

            suite.addTestSuite(LegendItemCollectionTests.class);↵

13

            suite.addTestSuite(FastScatterPlotTests.class);↵

13

            suite.addTestSuite(LineChartTests.class);↵

14

            suite.addTestSuite(IntervalMarkerTests.class);↵

14

            suite.addTestSuite(LineChart3DTests.class);↵

15

            suite.addTestSuite(MarkerTests.class);↵

15

            suite.addTestSuite(MeterChartTests.class);↵

16

            suite.addTestSuite(MeterIntervalTests.class);↵

16

            suite.addTestSuite(PaintMapTests.class);↵

17

            suite.addTestSuite(MeterPlotTests.class);↵

17

            suite.addTestSuite(PieChartTests.class);↵

18

            suite.addTestSuite(MultiplePiePlotTests.class);↵

18

            suite.addTestSuite(PieChart3DTests.class);↵

19

            suite.addTestSuite(PieLabelRecordTests.class);↵

19

            suite.addTestSuite(ScatterPlotTests.class);↵

20

            suite.addTestSuite(PiePlotTests.class);↵

20

            suite.addTestSuite(StackedAreaChartTests.class);↵

21

            suite.addTestSuite(PiePlot3DTests.class);↵

21

            suite.addTestSuite(StackedBarChartTests.class);↵

22

            suite.addTestSuite(PlotOrientationTests.class);↵

22

            suite.addTestSuite(StackedBarChart3DTests.class);↵

23

            suite.addTestSuite(PlotRenderingInfoTests.class);↵

23

            suite.addTestSuite(StrokeMapTests.class);↵

24

            suite.addTestSuite(PlotTests.class);↵

24

            suite.addTestSuite(TimeSeriesChartTests.class);↵

25

            suite.addTestSuite(PolarPlotTests.class);↵

25

            suite.addTestSuite(WaterfallChartTests.class);↵

26

            suite.addTestSuite(RingPlotTests.class);↵

26

            suite.addTestSuite(XYAreaChartTests.class);↵

27

            suite.addTestSuite(SpiderWebPlotTests.class);↵

27

            suite.addTestSuite(XYBarChartTests.class);↵

28

            suite.addTestSuite(ThermometerPlotTests.class);↵

28

            suite.addTestSuite(XYLineChartTests.class);↵

29

            suite.addTestSuite(ValueMarkerTests.class);↵

29

            suite.addTestSuite(XYStepAreaChartTests.class);↵

30

            suite.addTestSuite(XYPlotTests.class);↵

30

            suite.addTestSuite(XYStepChartTests.class);↵

31

            return suite;↵

31

            return suite;↵

32

32

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 0
Number of refactorable cases | 0
Number of non-refactorable cases | 0
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0
Clones location |
Number of node comparisons | 0