Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.968 | statement_sequence[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 198 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/block/junit/BorderArrangementTests.java |
2 | 11 | 225 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/block/junit/BorderArrangementTests.java |
| |||||
Block rb = new EmptyBlock(12.3, 15.6); container.add(new EmptyBlock(10.0, 20.0)); container.add(rb, RectangleEdge.RIGHT); size = container.arrange(g2); assertEquals(22.3, size.width, EPSILON); assertEquals(20.0, size.height, EPSILON); assertEquals(20.0, rb.getBounds().getHeight(), EPSILON); // TBLRC // 00100 - left item only container.clear(); |
| |||||
Block lb = new EmptyBlock(12.3, 15.6); container.add(new EmptyBlock(10.0, 20.0)); container.add(lb, RectangleEdge.LEFT); size = container.arrange(g2); assertEquals(22.3, size.width, EPSILON); assertEquals(20.0, size.height, EPSILON); assertEquals(20.0, lb.getBounds().getHeight(), EPSILON); // TBLRC // 00110 - left and right items container.clear(); |
| |||
Block [[#variable18ca7840]]= new EmptyBlock(12.3, 15.6); container.add(new EmptyBlock(10.0, 20.0)); container.add( [[#variable18ca7840]], RectangleEdge. [[#variable18ca7720]]); size = container.arrange(g2); assertEquals(22.3, size.width, EPSILON); assertEquals(20.0, size.height, EPSILON); assertEquals(20.0, [[#variable18ca7840]].getBounds().getHeight(), EPSILON); // TBLRC // 00100 - left item only // 00110 - left and right items container.clear(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18ca7840]] | rb |
1 | 2 | [[#18ca7840]] | lb |
2 | 1 | [[#18ca7720]] | RIGHT |
2 | 2 | [[#18ca7720]] | LEFT |