27-1-2

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.data.xy"); suite.addTestSuite(CategoryTableXYDatasetTests.class); suite.addTestSuite(DefaultHighLowDatasetTests.class); suite.addTestSuite(DefaultIntervalXYDatasetTests.class); suite.addTestSuite(DefaultOHLCDatasetTests.class); suite.addTestSuite(DefaultTableXYDatasetTests.class); suite.addTestSuite(DefaultWindDatasetTests.class); suite.addTestSuite(DefaultXYDatasetTests.class); suite.addTestSuite(DefaultXYZDatasetTests.class); suite.addTestSuite(IntervalXYDelegateTests.class); suite.addTestSuite(MatrixSeriesCollectionTests.class); suite.addTestSuite(MatrixSeriesTests.class); suite.addTestSuite(OHLCDataItemTests.class); suite.addTestSuite(TableXYDatasetTests.class); suite.addTestSuite(VectorDataItemTests.class); suite.addTestSuite(VectorSeriesCollectionTests.class); suite.addTestSuite(VectorSeriesTests.class); suite.addTestSuite(VectorTests.class); suite.addTestSuite(XIntervalDataItemTests.class); suite.addTestSuite(XIntervalSeriesCollectionTests.class); suite.addTestSuite(XIntervalSeriesTests.class); suite.addTestSuite(XYBarDatasetTests.class); suite.addTestSuite(XYCoordinateTests.class); suite.addTestSuite(XYDataItemTests.class); suite.addTestSuite(XYIntervalDataItemTests.class); suite.addTestSuite(XYIntervalSeriesCollectionTests.class); suite.addTestSuite(XYIntervalSeriesTests.class); suite.addTestSuite(XYIntervalTests.class); suite.addTestSuite(XYSeriesCollectionTests.class); suite.addTestSuite(XYSeriesTests.class); suite.addTestSuite(YIntervalDataItemTests.class); suite.addTestSuite(YIntervalSeriesCollectionTests.class); suite.addTestSuite(YIntervalSeriesTests.class); suite.addTestSuite(YIntervalTests.class); suite.addTestSuite(YWithXIntervalTests.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/data/xy/junit/DataXYPackageTests.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.data.xy");↵

3

            suite.addTestSuite(AxisLocationTests.class);↵

3

            suite.addTestSuite(CategoryTableXYDatasetTests.class);↵

4

            suite.addTestSuite(AxisSpaceTests.class);↵

4

            suite.addTestSuite(DefaultHighLowDatasetTests.class);↵

5

            suite.addTestSuite(AxisTests.class);↵

5

            suite.addTestSuite(DefaultIntervalXYDatasetTests.class);↵

6

            suite.addTestSuite(CategoryAnchorTests.class);↵

6

            suite.addTestSuite(DefaultOHLCDatasetTests.class);↵

7

            suite.addTestSuite(CategoryAxisTests.class);↵

7

            suite.addTestSuite(DefaultTableXYDatasetTests.class);↵

8

            suite.addTestSuite(CategoryAxis3DTests.class);↵

8

            suite.addTestSuite(DefaultWindDatasetTests.class);↵

9

            suite.addTestSuite(CategoryLabelPositionTests.class);↵

9

            suite.addTestSuite(DefaultXYDatasetTests.class);↵

10

            suite.addTestSuite(CategoryLabelPositionsTests.class);↵

10

            suite.addTestSuite(DefaultXYZDatasetTests.class);↵

11

            suite.addTestSuite(CategoryLabelWidthTypeTests.class);↵

11

            suite.addTestSuite(IntervalXYDelegateTests.class);↵

12

            suite.addTestSuite(CategoryTickTests.class);↵

12

            suite.addTestSuite(Mat↵

13

            suite.addTestSuite(ColorBarTests.class);↵

13

    rixSeriesCollectionTests.class);↵

14

            suite.addTestSuite(CyclicNumberAxisTests.class);↵

14

            suite.addTestSuite(MatrixSeriesTests.class);↵

15

            suite.addTestSuite(DateAxisTests.class);↵

15

            suite.addTestSuite(OHLCDataItemTests.class);↵

16

            suite.addTestSuite(DateTickTests.class);↵

16

            suite.addTestSuite(TableXYDatasetTests.class);↵

17

            suite.addTestSuite(DateTickMarkPositionTests.class);↵

17

            suite.addTestSuite(VectorDataItemTests.class);↵

18

            suite.addTestSuite(DateTickUnitTests.class);↵

18

            suite.addTestSuite(VectorSeriesCollectionTests.class);↵

19

            suite.addTestSuite(ExtendedCategoryAxisTests.class);↵

19

            suite.addTestSuite(VectorSeriesTests.class);↵

20

            suite.addTestSuite(LogAxisTests.class);↵

20

            suite.addTestSuite(VectorTests.class);↵

21

            suite.addTestSuite(LogarithmicAxisTests.class);↵

21

            suite.addTestSuite(XIntervalDataItemTests.class);↵

22

            suite.addTestSuite(MarkerAxisBandTests.class);↵

22

            suite.addTestSuite(XIntervalSeriesCollectionTests.class);↵

23

            suite.addTestSuite(ModuloAxisTests.class);↵

23

            suite.addTestSuite(XIntervalSeriesTests.class);↵

24

            suite.addTestSuite(MonthDateFormatTests.class);↵

24

            suite.addTestSuite(XYBarDatasetTests.class);↵

25

            suite.addTestSuite(NumberAxisTests.class);↵

25

            suite.addTestSuite(XYCoordinateTests.class);↵

26

            suite.addTestSuite(NumberAxis3DTests.class);↵

26

            suite.addTestSuite(XYDataItemTests.class);↵

27

            suite.addTestSuite(NumberTickUnitTests.class);↵

27

            suite.addTestSuite(XYIntervalDataItemTests.class);↵

28

            suite.addTestSuite(PeriodAxisTests.class);↵

28

            suite.addTestSuite(XYIntervalSeriesCollectionTests.class);↵

29

            suite.addTestSuite(PeriodAxisLabelInfoTests.class);↵

29

            suite.addTestSuite(XYIntervalSeriesTests.class);↵

30

            suite.addTestSuite(QuarterDateFormatTests.class);↵

30

            suite.addTestSuite(XYIntervalTests.class);↵

31

            suite.addTestSuite(SegmentedTimelineTests.class);↵

31

            suite.addTestSuite(XYSeriesCollectionTests.class);↵

32

            suite.addTestSuite(SegmentedTimelineTests2.class);↵

32

            suite.addTestSuite(XYSeriesTests.class);↵

33

            suite.addTestSuite(StandardTickUnitSourceTests.class);↵

33

            suite.addTestSuite(YIntervalDataItemTests.class);↵

34

            suite.addTestSuite(SubCategoryAxisTests.class);↵

34

            suite.addTestSuite(YIntervalSeriesCollectionTests.class);↵

35

            suite.addTestSuite(SymbolAxisTests.class);↵

35

            suite.addTestSuite(YIntervalSeriesTests.class);↵

36

            suite.addTestSuite(TickUnitsTests.class);↵

36

            suite.addTestSuite(YIntervalTests.class);↵

37

            suite.addTestSuite(ValueAxisTests.class);↵

37

            suite.addTestSuite(YWithXIntervalTests.class);↵

38

            return suite;↵

38

            return suite;↵

39

39

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