171-2-7

public static Test suite() { TestSuite suite = new TestSuite("org.jfree.chart.block"); suite.addTestSuite(AbstractBlockTests.class); suite.addTestSuite(BlockBorderTests.class); suite.addTestSuite(BlockContainerTests.class); suite.addTestSuite(BorderArrangementTests.class); suite.addTestSuite(ColorBlockTests.class); suite.addTestSuite(ColumnArrangementTests.class); suite.addTestSuite(EmptyBlockTests.class); suite.addTestSuite(FlowArrangementTests.class); suite.addTestSuite(GridArrangementTests.class); suite.addTestSuite(LabelBlockTests.class); suite.addTestSuite(LineBorderTests.class); suite.addTestSuite(RectangleConstraintTests.class); return suite;
public static Test suite() { TestSuite suite = new TestSuite("org.jfree.chart.title"); suite.addTestSuite(CompositeTitleTests.class); suite.addTestSuite(DateTitleTests.class); suite.addTestSuite(ImageTitleTests.class); suite.addTestSuite(LegendGraphicTests.class); suite.addTestSuite(LegendTitleTests.class); suite.addTestSuite(PaintScaleLegendTests.class); suite.addTestSuite(ShortTextTitleTests.class); suite.addTestSuite(TextTitleTests.class); suite.addTestSuite(TitleTests.class); return suite;

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/block/junit/BlockPackageTests.java |  | File path: /jfreechart-1.0.10/tests/org/jfree/chart/title/junit/TitlePackageTests.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.block");↵

2

            TestSuite suite = new TestSuite("org.jfree.chart.title");↵

3

            suite.addTestSuite(AbstractBlockTests.class);↵

3

            suite.addTestSuite(↵

4

            suite.addTestSuite(BlockBorderTests.class);↵

4

    CompositeTitleTests.class);↵

5

            suite.addTestSuite(BlockContainerTests.class);↵

5

            suite.addTestSuite(DateTitleTests.class);↵

6

            suite.addTestSuite(BorderArrangementTests.class);↵

6

            suite.addTestSuite(ImageTitleTests.class);↵

7

            suite.addTestSuite(ColorBlockTests.class);↵

7

            suite.addTestSuite(LegendGraphicTests.class);↵

8

            suite.addTestSuite(ColumnArrangementTests.class);↵

8

            suite.addTestSuite(LegendTitleTests.class);↵

9

            suite.addTestSuite(EmptyBlockTests.class);↵

9

            suite.addTestSuite(↵

10

            suite.addTestSuite(FlowArrangementTests.class);↵

11

            suite.addTestSuite(GridArrangementTests.class);↵

12

            suite.addTestSuite(LabelBlock↵

10

    PaintScaleLegendTests.class);↵

13

    Tests.class);↵

11

            suite.addTestSuite(ShortTextTitleTests.class);↵

14

            suite.addTestSuite(LineBorderTests.class);↵

12

            suite.addTestSuite(TextTitleTests.class);↵

15

            suite.addTestSuite(RectangleConstraintTests.class);↵

13

            suite.addTestSuite(TitleTests.class);↵

16

            return suite;↵

14

            return suite;↵

17

15

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