27-1-3

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.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;

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/plot/junit/PlotPackageTests.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);↵

4

            suite.addTestSuite(AxisSpaceTests.class);↵

5

            suite.addTestSuite(Axis↵

3

    plot");↵

6

    Tests.class);↵

4

            suite.addTestSuite(CategoryMarkerTests.class);↵

7

            suite.addTestSuite(CategoryAnchorTests.class);↵

5

            suite.addTestSuite(CategoryPlotTests.class);↵

8

            suite.addTestSuite(CategoryAxisTests.class);↵

6

            suite.addTestSuite(ColorPaletteTests.class);↵

9

            suite.addTestSuite(CategoryAxis3DTests.class);↵

7

            suite.addTestSuite(C↵

10

            suite.addTestSuite(CategoryLabelPositionTests.class);↵

8

    ombinedDomainCategoryPlotTests.class);↵

11

            suite.addTestSuite(CategoryLabelPositionsTests.class);↵

9

            suite.addTestSuite(CombinedDomainXYPlotTests.class);↵

12

            suite.addTestSuite(CategoryLabelWidthTypeTests.class);↵

10

            suite.addTestSuite(CombinedRangeCategoryPlotTests.class);↵

13

            suite.addTestSuite(CategoryTickTests.class);↵

11

            suite.addTestSuite(CombinedRangeXYPlotTests.class);↵

14

            suite.addTestSuite(ColorBarTests.class);↵

12

            suite.addTestSuite(CompassPlotTests.class);↵

15

            suite.addTestSuite(CyclicNumberAxisTests.class);↵

13

            suite.addTestSuite(ContourPlotTests.class);↵

16

            suite.addTestSuite(DateAxisTests.class);↵

14

            suite.addTestSuite(D↵

17

            suite.addTestSuite(DateTickTests.class);↵

15

    efaultDrawingSupplierTests.class);↵

18

            suite.addTestSuite(DateTickMarkPositionTests.class);↵

16

            suite.addTestSuite(FastScatterPlotTests.class);↵

19

            suite.addTestSuite(DateTickUnitTests.class);↵

17

            suite.addTestSuite(IntervalMarkerTests.class);↵

20

            suite.addTestSuite(ExtendedCategoryAxisTests.class);↵

18

            suite.addTestSuite(MarkerTests.class);↵

21

            suite.addTestSuite(LogAxisTests.class);↵

19

            suite.addTestSuite(↵

22

            suite.addTestSuite(LogarithmicAxisTests.class);↵

20

    MeterIntervalTests.class);↵

23

            suite.addTestSuite(MarkerAxisBandTests.class);↵

21

            suite.addTestSuite(MeterPlotTests.class);↵

24

            suite.addTestSuite(ModuloAxisTests.class);↵

22

            suite.addTestSuite(MultiplePiePlotTests.class);↵

25

            suite.addTestSuite(MonthDateFormatTests.class);↵

23

            suite.addTestSuite(PieLabelRecordTests.class);↵

26

            suite.addTestSuite(NumberAxisTests.class);↵

24

            suite.addTestSuite(PiePlotTests.class);↵

27

            suite.addTestSuite(NumberAxis3DTests.class);↵

25

            suite.addTestSuite(PiePlot3DTests.class);↵

28

            suite.addTestSuite(NumberTickUnitTests.class);↵

26

            suite.addTestSuite(PlotOrientationTests.class);↵

29

            suite.addTestSuite(PeriodAxisTests.class);↵

27

            suite.addTestSuite(PlotRenderingInfoTests.class);↵

30

            suite.addTestSuite(PeriodAxisLabelInfoTests.class);↵

28

            suite.addTestSuite(PlotTests.class);↵

31

            suite.addTestSuite(QuarterDateFormatTests.class);↵

29

            suite.addTestSuite(PolarPlotTests.class);↵

32

            suite.addTestSuite(SegmentedTimelineTests.class);↵

30

            suite.addTestSuite(RingPlotTests.class);↵

33

            suite.addTestSuite(SegmentedTimelineTests2.class);↵

31

            suite.addTestSuite(SpiderWebPlotTests.class);↵

34

            suite.addTestSuite(StandardTickUnitSourceTests.class);↵

32

            suite.addTestSuite(↵

35

            suite.addTestSuite(SubCategoryAxisTests.class);↵

36

            suite.addTestSuite(SymbolAxisTests.class);↵

37

            suite.addTestSuite(TickUnits↵

33

    ThermometerPlotTests.class);↵

38

    Tests.class);↵

34

            suite.addTestSuite(ValueMarkerTests.class);↵

39

            suite.addTestSuite(ValueAxisTests.class);↵

35

            suite.addTestSuite(XYPlotTests.class);↵

40

            return suite;↵

36

            return suite;↵

41

37

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