27-1-4

public static Test suite() { TestSuite suite = new TestSuite("org.jfree.chart.axis"); suite.addTestSuite(AxisLocationTests.class); suite.addTestSuite(AxisSpaceTests.class); suite.addTestSuite(AxisTests.class); suite.addTestSuite(CategoryAnchorTests.class); suite.addTestSuite(CategoryAxisTests.class); suite.addTestSuite(CategoryAxis3DTests.class); suite.addTestSuite(CategoryLabelPositionTests.class); suite.addTestSuite(CategoryLabelPositionsTests.class); suite.addTestSuite(CategoryLabelWidthTypeTests.class); suite.addTestSuite(CategoryTickTests.class); suite.addTestSuite(ColorBarTests.class); suite.addTestSuite(CyclicNumberAxisTests.class); suite.addTestSuite(DateAxisTests.class); suite.addTestSuite(DateTickTests.class); suite.addTestSuite(DateTickMarkPositionTests.class); suite.addTestSuite(DateTickUnitTests.class); suite.addTestSuite(ExtendedCategoryAxisTests.class); suite.addTestSuite(LogAxisTests.class); suite.addTestSuite(LogarithmicAxisTests.class); suite.addTestSuite(MarkerAxisBandTests.class); suite.addTestSuite(ModuloAxisTests.class); suite.addTestSuite(MonthDateFormatTests.class); suite.addTestSuite(NumberAxisTests.class); suite.addTestSuite(NumberAxis3DTests.class); suite.addTestSuite(NumberTickUnitTests.class); suite.addTestSuite(PeriodAxisTests.class); suite.addTestSuite(PeriodAxisLabelInfoTests.class); suite.addTestSuite(QuarterDateFormatTests.class); suite.addTestSuite(SegmentedTimelineTests.class); suite.addTestSuite(SegmentedTimelineTests2.class); suite.addTestSuite(StandardTickUnitSourceTests.class); suite.addTestSuite(SubCategoryAxisTests.class); suite.addTestSuite(SymbolAxisTests.class); suite.addTestSuite(TickUnitsTests.class); suite.addTestSuite(ValueAxisTests.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/axis/junit/AxisPackageTests.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.axis");↵

2

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

3

            suite.addTestSuite(AxisLocationTests.class);↵

3

            suite.addTestSuite(AreaChartTests.class);↵

4

            suite.addTestSuite(AxisSpaceTests.class);↵

4

            suite.addTestSuite(BarChartTests.class);↵

5

            suite.addTestSuite(AxisTests.class);↵

5

            suite.addTestSuite(BarChart3DTests.class);↵

6

            suite.addTestSuite(CategoryAnchorTests.class);↵

6

            suite.addTestSuite(ChartPanelTests.class);↵

7

            suite.addTestSuite(CategoryAxisTests.class);↵

7

            suite.addTestSuite(ChartRenderingInfoTests.class);↵

8

            suite.addTestSuite(CategoryAxis3DTests.class);↵

8

            suite.addTestSuite(GanttChartTests.class);↵

9

            suite.addTestSuite(CategoryLabelPositionTests.class);↵

9

            suite.addTestSuite(HashUtilitiesTests.class);↵

10

            suite.addTestSuite(CategoryLabelPositionsTests.class);↵

10

            suite.addTestSuite(JFreeChartTests.class);↵

11

            suite.addTestSuite(CategoryLabelWidthTypeTests.class);↵

11

            suite.addTestSuite(LegendItemTests.class);↵

12

            suite.addTestSuite(CategoryTickTests.class);↵

12

            suite.addTestSuite(↵

13

            suite.addTestSuite(ColorBarTests.class);↵

13

    LegendItemCollectionTests.class);↵

14

            suite.addTestSuite(CyclicNumberAxisTests.class);↵

14

            suite.addTestSuite(LineChartTests.class);↵

15

            suite.addTestSuite(DateAxisTests.class);↵

15

            suite.addTestSuite(↵

16

            suite.addTestSuite(DateTickTests.class);↵

16

    LineChart3DTests.class);↵

17

            suite.addTestSuite(DateTickMarkPositionTests.class);↵

17

            suite.addTestSuite(MeterChartTests.class);↵

18

            suite.addTestSuite(DateTickUnitTests.class);↵

18

            suite.addTestSuite(PaintMapTests.class);↵

19

            suite.addTestSuite(ExtendedCategoryAxisTests.class);↵

19

            suite.addTestSuite(PieChartTests.class);↵

20

            suite.addTestSuite(LogAxisTests.class);↵

20

            suite.addTestSuite(PieChart3DTests.class);↵

21

            suite.addTestSuite(LogarithmicAxisTests.class);↵

21

            suite.addTestSuite(ScatterPlotTests.class);↵

22

            suite.addTestSuite(MarkerAxisBandTests.class);↵

22

            suite.addTestSuite(↵

23

            suite.addTestSuite(ModuloAxisTests.class);↵

23

    StackedAreaChartTests.class);↵

24

            suite.addTestSuite(MonthDateFormatTests.class);↵

24

            suite.addTestSuite(StackedBarChartTests.class);↵

25

            suite.addTestSuite(NumberAxisTests.class);↵

25

            suite.addTestSuite(↵

26

            suite.addTestSuite(NumberAxis3DTests.class);↵

26

    StackedBarChart3DTests.class);↵

27

            suite.addTestSuite(NumberTickUnitTests.class);↵

27

            suite.addTestSuite(StrokeMapTests.class);↵

28

            suite.addTestSuite(PeriodAxisTests.class);↵

28

            suite.addTestSuite(↵

29

            suite.addTestSuite(PeriodAxisLabelInfoTests.class);↵

29

    TimeSeriesChartTests.class);↵

30

            suite.addTestSuite(QuarterDateFormatTests.class);↵

30

            suite.addTestSuite(WaterfallChartTests.class);↵

31

            suite.addTestSuite(SegmentedTimelineTests.class);↵

31

            suite.addTestSuite(XYAreaChartTests.class);↵

32

            suite.addTestSuite(SegmentedTimelineTests2.class);↵

32

            suite.addTestSuite(XYBarChartTests.class);↵

33

            suite.addTestSuite(StandardTickUnitSourceTests.class);↵

33

            suite.addTestSuite(XYLineChartTests.class);↵

34

            suite.addTestSuite(SubCategoryAxisTests.class);↵

34

            suite.addTestSuite(↵

35

            suite.addTestSuite(SymbolAxisTests.class);↵

36

            suite.addTestSuite(TickUnitsTests.class);↵

37

            suite.addTestSuite(ValueAxis↵

35

    XYStepAreaChartTests.class);↵

38

    Tests.class);↵

36

            suite.addTestSuite(XYStepChartTests.class);↵

39

            return suite;↵

37

            return suite;↵

40

38

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