1606-1-3

public static Test suite() { TestSuite suite = new TestSuite("org.jfree.data.category"); suite.addTestSuite(CategoryToPieDatasetTests.class); suite.addTestSuite(DefaultCategoryDatasetTests.class); suite.addTestSuite(DefaultIntervalCategoryDatasetTests.class); suite.addTestSuite(SlidingCategoryDatasetTests.class); return suite;
public static Test suite() { TestSuite suite = new TestSuite("org.jfree.data.time.ohlc"); suite.addTestSuite(OHLCItemTests.class); suite.addTestSuite(OHLCSeriesCollectionTests.class); suite.addTestSuite(OHLCSeriesTests.class); suite.addTestSuite(OHLCTests.class); return suite;

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

2

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

3

            suite.addTestSuite(CategoryToPieDatasetTests.class);↵

3

            suite.addTestSuite(OHLCItemTests.class);↵

4

            suite.addTestSuite(DefaultCategoryDatasetTests.class);↵

4

            suite.addTestSuite(OHLCSeriesCollectionTests.class);↵

5

            suite.addTestSuite(DefaultIntervalCategoryDatasetTests.class);↵

5

            suite.addTestSuite(OHLCSeriesTests.class);↵

6

            suite.addTestSuite(SlidingCategoryDatasetTests.class);↵

6

            suite.addTestSuite(OHLCTests.class);↵

7

            return suite;↵

7

            return suite;↵

8

8

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