27-2-6

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;
public static Test suite() { TestSuite suite = new TestSuite("org.jfree.chart.renderer.category"); suite.addTestSuite(AbstractCategoryItemRendererTests.class); suite.addTestSuite(AreaRendererTests.class); suite.addTestSuite(BarRendererTests.class); suite.addTestSuite(BarRenderer3DTests.class); suite.addTestSuite(BoxAndWhiskerRendererTests.class); suite.addTestSuite(CategoryStepRendererTests.class); suite.addTestSuite(DefaultCategoryItemRendererTests.class); suite.addTestSuite(GanttRendererTests.class); suite.addTestSuite(GroupedStackedBarRendererTests.class); suite.addTestSuite(IntervalBarRendererTests.class); suite.addTestSuite(LayeredBarRendererTests.class); suite.addTestSuite(LevelRendererTests.class); suite.addTestSuite(LineAndShapeRendererTests.class); suite.addTestSuite(LineRenderer3DTests.class); suite.addTestSuite(MinMaxCategoryRendererTests.class); suite.addTestSuite(StackedAreaRendererTests.class); suite.addTestSuite(StackedBarRendererTests.class); suite.addTestSuite(StackedBarRenderer3DTests.class); suite.addTestSuite(StatisticalBarRendererTests.class); suite.addTestSuite(StatisticalLineAndShapeRendererTests.class); suite.addTestSuite(WaterfallBarRendererTests.class); return suite;

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/data/xy/junit/DataXYPackageTests.java |  | File path: /jfreechart-1.0.10/tests/org/jfree/chart/renderer/category/junit/RendererCategoryPackageTests.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.data.xy");↵

2

            TestSuite suite = new TestSuite("org.jfree.↵

3

            suite.addTestSuite(CategoryTableXYDatasetTests.class);↵

4

            suite.addTestSuite(DefaultHighLowDatasetTests.class);↵

5

            suite.addTestSuite(DefaultIntervalXYDatasetTests.class);↵

6

            suite.addTestSuite(DefaultOHLCDatasetTests.class);↵

7

            suite.addTestSuite(DefaultTableXYDataset↵

3

    chart.renderer.category");↵

4

            suite.addTestSuite(AbstractCategoryItemRendererTests.class);↵

8

    Tests.class);↵

5

            suite.addTestSuite(AreaRendererTests.class);↵

9

            suite.addTestSuite(DefaultWindDatasetTests.class);↵

6

            suite.addTestSuite(BarRendererTests.class);↵

10

            suite.addTestSuite(DefaultXYDatasetTests.class);↵

7

            suite.addTestSuite(↵

11

            suite.addTestSuite(DefaultXYZDatasetTests.class);↵

8

    BarRenderer3DTests.class);↵

12

            suite.addTestSuite(IntervalXYDelegateTests.class);↵

9

            suite.addTestSuite(BoxAndWhiskerRendererTests.class);↵

13

            suite.addTestSuite(MatrixSeriesCollectionTests.class);↵

10

            suite.addTestSuite(Cat↵

14

            suite.addTestSuite(MatrixSeriesTests.class);↵

11

    egoryStepRendererTests.class);↵

15

            suite.addTestSuite(OHLCDataItemTests.class);↵

12

            suite.addTestSuite(↵

16

            suite.addTestSuite(TableXYDatasetTests.class);↵

13

    DefaultCategoryItemRendererTests.class);↵

17

            suite.addTestSuite(VectorDataItemTests.class);↵

14

            suite.addTestSuite(GanttRendererTests.class);↵

18

            suite.addTestSuite(VectorSeriesCollectionTests.class);↵

15

            suite.addTestSuite(↵

19

            suite.addTestSuite(VectorSeriesTests.class);↵

20

            suite.addTestSuite(VectorTests.class);↵

16

    GroupedStackedBarRendererTests.class);↵

21

            suite.addTestSuite(XIntervalDataItemTests.class);↵

17

            suite.addTestSuite(IntervalBarRendererTests.class);↵

22

            suite.addTestSuite(XIntervalSeriesCollectionTests.class);↵

18

            suite.addTestSuite(LayeredBarRendererTests.class);↵

23

            suite.addTestSuite(XIntervalSeriesTests.class);↵

19

            suite.addTestSuite(LevelRendererTests.class);↵

24

            suite.addTestSuite(XYBarDatasetTests.class);↵

20

            suite.addTestSuite(LineAndShapeRendererTests.class);↵

25

            suite.addTestSuite(XYCoordinateTests.class);↵

21

            suite.addTestSuite(↵

26

            suite.addTestSuite(XYDataItemTests.class);↵

22

    LineRenderer3DTests.class);↵

27

            suite.addTestSuite(XYIntervalDataItemTests.class);↵

23

            suite.addTestSuite(MinMaxCategoryRendererTests.class);↵

28

            suite.addTestSuite(XYIntervalSeriesCollectionTests.class);↵

24

            suite.addTestSuite(StackedAreaRendererTests.class);↵

29

            suite.addTestSuite(XYIntervalSeriesTests.class);↵

25

            suite.addTestSuite(StackedBarRendererTests.class);↵

30

            suite.addTestSuite(XYIntervalTests.class);↵

26

            suite.addTestSuite(↵

31

            suite.addTestSuite(XYSeriesCollectionTests.class);↵

32

            suite.addTestSuite(XYSeriesTests.class);↵

33

            suite.addTestSuite(YIntervalDataItemTests.class);↵

34

            suite.addTestSuite(YIntervalSeriesCollectionTests.class);↵

35

            suite.addTestSuite(YIntervalSeries↵

27

    StackedBarRenderer3DTests.class);↵

28

            suite.addTestSuite(StatisticalBarRendererTests.class);↵

36

    Tests.class);↵

29

            suite.addTestSuite(StatisticalLineAndShapeRendererTests.class);↵

37

            suite.addTestSuite(YIntervalTests.class);↵

30

            suite.addTestSuite(Waterfal↵

38

            suite.addTestSuite(YWithXIntervalTests.class);↵

31

    lBarRendererTests.class);↵

39

            return suite;↵

32

            return suite;↵

40

33

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