27-4-8

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;
public static Test suite() { TestSuite suite = new TestSuite("org.jfree.chart.labels"); suite.addTestSuite(BoxAndWhiskerToolTipGeneratorTests.class); suite.addTestSuite(BoxAndWhiskerXYToolTipGeneratorTests.class); suite.addTestSuite(BubbleXYItemLabelGeneratorTests.class); suite.addTestSuite(CustomXYItemLabelGeneratorTests.class); suite.addTestSuite(HighLowItemLabelGeneratorTests.class); suite.addTestSuite(IntervalCategoryLabelGeneratorTests.class); suite.addTestSuite(ItemLabelAnchorTests.class); suite.addTestSuite(ItemLabelPositionTests.class); suite.addTestSuite(MultipleXYSeriesLabelGeneratorTests.class); suite.addTestSuite(StandardCategoryItemLabelGeneratorTests.class); suite.addTestSuite(StandardCategorySeriesLabelGeneratorTests.class); suite.addTestSuite(StandardCategoryToolTipGeneratorTests.class); suite.addTestSuite(StandardContourToolTipGeneratorTests.class); suite.addTestSuite(StandardPieSectionLabelGeneratorTests.class); suite.addTestSuite(StandardPieToolTipGeneratorTests.class); suite.addTestSuite(StandardXYItemLabelGeneratorTests.class); suite.addTestSuite(StandardXYSeriesLabelGeneratorTests.class); suite.addTestSuite(StandardXYToolTipGeneratorTests.class); suite.addTestSuite(StandardXYZToolTipGeneratorTests.class); suite.addTestSuite(SymbolicXYItemLabelGeneratorTests.class); return suite;

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/junit/ChartPackageTests.java |  | File path: /jfreechart-1.0.10/tests/org/jfree/chart/labels/junit/LabelsPackageTests.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");↵

2

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

3

            suite.addTestSuite(AreaChartTests.class);↵

3

            suite.addTestSuite(BoxAndWhiskerToolTipGeneratorTests.class);↵

4

            suite.addTestSuite(BarChartTests.class);↵

4

            suite.addTestSuite(B↵

5

            suite.addTestSuite(BarChart3DTests.class);↵

5

    oxAndWhiskerXYToolTipGeneratorTests.class);↵

6

            suite.addTestSuite(ChartPanelTests.class);↵

6

            suite.addTestSuite(BubbleXYItemLabelGeneratorTests.class);↵

7

            suite.addTestSuite(ChartRenderingInfoTests.class);↵

7

            suite.addTestSuite(CustomXYItemLabelGeneratorTests.class);↵

8

            suite.addTestSuite(GanttChartTests.class);↵

8

            suite.addTestSuite(HighLowItemLabelGeneratorTests.class);↵

9

            suite.addTestSuite(HashUtilitiesTests.class);↵

9

            suite.addTestSuite(↵

10

            suite.addTestSuite(JFreeChartTests.class);↵

10

    IntervalCategoryLabelGeneratorTests.class);↵

11

            suite.addTestSuite(LegendItemTests.class);↵

11

            suite.addTestSuite(ItemLabelAnchorTests.class);↵

12

            suite.addTestSuite(LegendItemCollectionTests.class);↵

12

            suite.addTestSuite(ItemLabelPositionTests.class);↵

13

            suite.addTestSuite(LineChartTests.class);↵

13

            suite.addTestSuite(↵

14

            suite.addTestSuite(LineChart3DTests.class);↵

15

            suite.addTestSuite(MeterChartTests.class);↵

16

            suite.addTestSuite(PaintMapTests.class);↵

17

            suite.addTestSuite(PieChartTests.class);↵

18

            suite.addTestSuite(PieChart3D↵

14

    MultipleXYSeriesLabelGeneratorTests.class);↵

15

            suite.addTestSuite(StandardCategoryItemLabelGeneratorTests.class);↵

19

    Tests.class);↵

16

            suite.addTestSuite(StandardCategorySeriesLabelGeneratorTests.class);↵

20

            suite.addTestSuite(ScatterPlotTests.class);↵

17

            suite.addTestSuite(StandardCategoryToolTipGeneratorTests.class);↵

21

            suite.addTestSuite(StackedAreaChartTests.class);↵

18

            suite.addTestSuite(Sta↵

22

            suite.addTestSuite(StackedBarChartTests.class);↵

19

    ndardContourToolTipGeneratorTests.class);↵

23

            suite.addTestSuite(StackedBarChart3DTests.class);↵

20

            suite.addTestSuite(StandardPieSectionLabelGeneratorTests.class);↵

24

            suite.addTestSuite(StrokeMapTests.class);↵

21

            suite.addTestSuite(St↵

25

            suite.addTestSuite(TimeSeriesChartTests.class);↵

22

    andardPieToolTipGeneratorTests.class);↵

26

            suite.addTestSuite(WaterfallChartTests.class);↵

23

            suite.addTestSuite(StandardXYItemLabelGeneratorTests.class);↵

27

            suite.addTestSuite(XYAreaChartTests.class);↵

24

            suite.addTestSuite(↵

28

            suite.addTestSuite(XYBarChartTests.class);↵

25

    StandardXYSeriesLabelGeneratorTests.class);↵

29

            suite.addTestSuite(XYLineChartTests.class);↵

26

            suite.addTestSuite(StandardXYToolTipGeneratorTests.class);↵

30

            suite.addTestSuite(XYStepAreaChartTests.class);↵

27

            suite.addTestSuite(StandardXYZToolTipGeneratorTests.class);↵

31

            suite.addTestSuite(XYStepChartTests.class);↵

28

            suite.addTestSuite(SymbolicXYItemLabelGeneratorTests.class);↵

32

            return suite;↵

29

            return suite;↵

33

30

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