p2.getFixedLegendItems().add(new LegendItem("X", "XX", "tt", "url",
true, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true,
Color.red, true, Color.yellow, new BasicStroke(1.0f), true,
new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(1.0f),
Color.green));
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/junit/LegendItemTests.java
|
|
File path: /jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/CategoryPlotTests.java
|
Method name: void testEquals()
|
|
Method name: void testCloning3()
|
Number of AST nodes: 0
|
|
Number of AST nodes: 1
|
|
| | | 1 | p2.getFixedLegendItems().add(new LegendItem("X", "XX", "tt", "url",↵
|
| | | 2 | true, new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0), true,↵
|
| | | 3 | Color.red, true, Color.yellow, new BasicStroke(1.0f), true,↵
|
| | | 4 | new Line2D.Double(1.0, 2.0, 3.0, 4.0), new BasicStroke(1.0f),↵
|
| | | 5 | Color.green));
|
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 | Clones are in different classes having the same super class |
Number of node comparisons | 0 |