27-1-5

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.renderer.xy"); suite.addTestSuite(AbstractXYItemRendererTests.class); suite.addTestSuite(CandlestickRendererTests.class); suite.addTestSuite(ClusteredXYBarRendererTests.class); suite.addTestSuite(DeviationRendererTests.class); suite.addTestSuite(HighLowRendererTests.class); suite.addTestSuite(StackedXYAreaRendererTests.class); suite.addTestSuite(StackedXYAreaRenderer2Tests.class); suite.addTestSuite(StackedXYBarRendererTests.class); suite.addTestSuite(StandardXYItemRendererTests.class); suite.addTestSuite(VectorRendererTests.class); suite.addTestSuite(WindItemRendererTests.class); suite.addTestSuite(XYAreaRendererTests.class); suite.addTestSuite(XYAreaRenderer2Tests.class); suite.addTestSuite(XYBarRendererTests.class); suite.addTestSuite(XYBlockRendererTests.class); suite.addTestSuite(XYBoxAndWhiskerRendererTests.class); suite.addTestSuite(XYBubbleRendererTests.class); suite.addTestSuite(XYDifferenceRendererTests.class); suite.addTestSuite(XYDotRendererTests.class); suite.addTestSuite(XYErrorRendererTests.class); suite.addTestSuite(XYLineAndShapeRendererTests.class); suite.addTestSuite(XYLine3DRendererTests.class); suite.addTestSuite(XYSplineRendererTests.class); suite.addTestSuite(XYStepRendererTests.class); suite.addTestSuite(XYStepAreaRendererTests.class); suite.addTestSuite(YIntervalRendererTests.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/renderer/xy/junit/RendererXYPackageTests.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

    renderer.xy");↵

6

    Tests.class);↵

4

            suite.addTestSuite(AbstractXYItemRendererTests.class);↵

7

            suite.addTestSuite(CategoryAnchorTests.class);↵

5

            suite.addTestSuite(CandlestickRendererTests.class);↵

8

            suite.addTestSuite(CategoryAxisTests.class);↵

6

            suite.addTestSuite(C↵

9

            suite.addTestSuite(CategoryAxis3DTests.class);↵

7

    lusteredXYBarRendererTests.class);↵

10

            suite.addTestSuite(CategoryLabelPositionTests.class);↵

8

            suite.addTestSuite(DeviationRendererTests.class);↵

11

            suite.addTestSuite(CategoryLabelPositionsTests.class);↵

9

            suite.addTestSuite(HighLowRendererTests.class);↵

12

            suite.addTestSuite(CategoryLabelWidthTypeTests.class);↵

10

            suite.addTestSuite(StackedXYAreaRendererTests.class);↵

13

            suite.addTestSuite(CategoryTickTests.class);↵

11

            suite.addTestSuite(↵

14

            suite.addTestSuite(ColorBarTests.class);↵

15

            suite.addTestSuite(CyclicNumberAxisTests.class);↵

16

            suite.addTestSuite(DateAxis↵

12

    StackedXYAreaRenderer2Tests.class);↵

17

    Tests.class);↵

13

            suite.addTestSuite(StackedXYBarRendererTests.class);↵

18

            suite.addTestSuite(DateTickTests.class);↵

14

            suite.addTestSuite(StandardXYItemRendererTests.class);↵

19

            suite.addTestSuite(DateTickMarkPositionTests.class);↵

15

            suite.addTestSuite(VectorRendererTests.class);↵

20

            suite.addTestSuite(DateTickUnitTests.class);↵

16

            suite.addTestSuite(WindItemRendererTests.class);↵

21

            suite.addTestSuite(ExtendedCategoryAxisTests.class);↵

17

            suite.addTestSuite(XYAreaRendererTests.class);↵

22

            suite.addTestSuite(LogAxisTests.class);↵

18

            suite.addTestSuite(↵

23

            suite.addTestSuite(LogarithmicAxisTests.class);↵

19

    XYAreaRenderer2Tests.class);↵

24

            suite.addTestSuite(MarkerAxisBandTests.class);↵

20

            suite.addTestSuite(XYBarRendererTests.class);↵

25

            suite.addTestSuite(ModuloAxisTests.class);↵

21

            suite.addTestSuite(XYBlockRendererTests.class);↵

26

            suite.addTestSuite(MonthDateFormatTests.class);↵

22

            suite.addTestSuite(↵

27

            suite.addTestSuite(NumberAxisTests.class);↵

23

    XYBoxAndWhiskerRendererTests.class);↵

28

            suite.addTestSuite(NumberAxis3DTests.class);↵

24

            suite.addTestSuite(XYBubbleRendererTests.class);↵

29

            suite.addTestSuite(NumberTickUnitTests.class);↵

25

            suite.addTestSuite(XYDifferenceRendererTests.class);↵

30

            suite.addTestSuite(PeriodAxisTests.class);↵

26

            suite.addTestSuite(XYDotRendererTests.class);↵

31

            suite.addTestSuite(PeriodAxisLabelInfoTests.class);↵

27

            suite.addTestSuite(XYErrorRendererTests.class);↵

32

            suite.addTestSuite(QuarterDateFormatTests.class);↵

28

            suite.addTestSuite(XYLineAndShapeRendererTests.class);↵

33

            suite.addTestSuite(SegmentedTimelineTests.class);↵

29

            suite.addTestSuite(XYLine3DRendererTests.class);↵

34

            suite.addTestSuite(SegmentedTimelineTests2.class);↵

30

            suite.addTestSuite(XYSplineRendererTests.class);↵

35

            suite.addTestSuite(StandardTickUnitSourceTests.class);↵

31

            suite.addTestSuite(XYStepRendererTests.class);↵

36

            suite.addTestSuite(SubCategoryAxisTests.class);↵

32

            suite.addTestSuite(↵

37

            suite.addTestSuite(SymbolAxisTests.class);↵

38

            suite.addTestSuite(TickUnitsTests.class);↵

39

            suite.addTestSuite(ValueAxis↵

33

    XYStepAreaRendererTests.class);↵

40

    Tests.class);↵

34

            suite.addTestSuite(YIntervalRendererTests.class);↵

41

            return suite;↵

35

            return suite;↵

42

36

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