382-1-2

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;
public static Test suite() { TestSuite suite = new TestSuite("org.jfree.data.time"); suite.addTestSuite(DateRangeTests.class); suite.addTestSuite(DayTests.class); suite.addTestSuite(FixedMillisecondTests.class); suite.addTestSuite(HourTests.class); suite.addTestSuite(MinuteTests.class); suite.addTestSuite(MillisecondTests.class); suite.addTestSuite(MonthTests.class); suite.addTestSuite(MovingAverageTests.class); suite.addTestSuite(QuarterTests.class); suite.addTestSuite(SecondTests.class); suite.addTestSuite(SimpleTimePeriodTests.class); suite.addTestSuite(TimePeriodAnchorTests.class); suite.addTestSuite(TimePeriodValueTests.class); suite.addTestSuite(TimePeriodValuesTests.class); suite.addTestSuite(TimePeriodValuesCollectionTests.class); suite.addTestSuite(TimeSeriesCollectionTests.class); suite.addTestSuite(TimeSeriesTests.class); suite.addTestSuite(TimeSeriesDataItemTests.class); suite.addTestSuite(TimeTableXYDatasetTests.class); suite.addTestSuite(WeekTests.class); suite.addTestSuite(YearTests.class); return suite;

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

2

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

3

            suite.addTestSuite(AbstractCategoryItemRendererTests.class);↵

3

            suite.addTestSuite(DateRangeTests.class);↵

4

            suite.addTestSuite(AreaRendererTests.class);↵

4

            suite.addTestSuite(DayTests.class);↵

5

            suite.addTestSuite(BarRendererTests.class);↵

5

            suite.addTestSuite(FixedMillisecondTests.class);↵

6

            suite.addTestSuite(BarRenderer3DTests.class);↵

6

            suite.addTestSuite(HourTests.class);↵

7

            suite.addTestSuite(BoxAndWhiskerRendererTests.class);↵

7

            suite.addTestSuite(MinuteTests.class);↵

8

            suite.addTestSuite(CategoryStepRendererTests.class);↵

8

            suite.addTestSuite(MillisecondTests.class);↵

9

            suite.addTestSuite(DefaultCategoryItemRendererTests.class);↵

9

            suite.addTestSuite(MonthTests.class);↵

10

            suite.addTestSuite(GanttRendererTests.class);↵

10

            suite.addTestSuite(MovingAverageTests.class);↵

11

            suite.addTestSuite(GroupedStackedBarRendererTests.class);↵

11

            suite.addTestSuite(QuarterTests.class);↵

12

            suite.addTestSuite(IntervalBarRendererTests.class);↵

12

            suite.addTestSuite(SecondTests.class);↵

13

            suite.addTestSuite(LayeredBarRendererTests.class);↵

13

            suite.addTestSuite(SimpleTimePeriodTests.class);↵

14

            suite.addTestSuite(LevelRendererTests.class);↵

14

            suite.addTestSuite(TimePeriodAnchorTests.class);↵

15

            suite.addTestSuite(LineAndShapeRendererTests.class);↵

15

            suite.addTestSuite(TimePeriodValueTests.class);↵

16

            suite.addTestSuite(LineRenderer3DTests.class);↵

16

            suite.addTestSuite(TimePeriodValuesTests.class);↵

17

            suite.addTestSuite(MinMaxCategoryRendererTests.class);↵

17

            suite.addTestSuite(TimePeriodValuesCollectionTests.class);↵

18

            suite.addTestSuite(StackedAreaRendererTests.class);↵

18

            suite.addTestSuite(TimeSeriesCollectionTests.class);↵

19

            suite.addTestSuite(StackedBarRendererTests.class);↵

19

            suite.addTestSuite(TimeSeriesTests.class);↵

20

            suite.addTestSuite(StackedBarRenderer3DTests.class);↵

20

            suite.addTestSuite(TimeSeriesDataItemTests.class);↵

21

            suite.addTestSuite(StatisticalBarRendererTests.class);↵

21

            suite.addTestSuite(TimeTableXYDatasetTests.class);↵

22

            suite.addTestSuite(StatisticalLineAndShapeRendererTests.class);↵

22

            suite.addTestSuite(WeekTests.class);↵

23

            suite.addTestSuite(WaterfallBarRendererTests.class);↵

23

            suite.addTestSuite(YearTests.class);↵

24

            return suite;↵

24

            return suite;↵

25

25

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