Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.984 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 101 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/annotations/junit/XYShapeAnnotationTests.java |
2 | 8 | 111 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/annotations/junit/XYShapeAnnotationTests.java |
| |||||
// shape a1 = new XYShapeAnnotation(new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(1.2F), Color.red, Color.blue); assertFalse(a1.equals(a2)); a2 = new XYShapeAnnotation(new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(1.2F), Color.red, Color.blue); assertTrue(a1.equals(a2)); |
| |||||
// stroke a1 = new XYShapeAnnotation(new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(2.3F), Color.red, Color.blue); assertFalse(a1.equals(a2)); a2 = new XYShapeAnnotation(new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke(2.3F), Color.red, Color.blue); assertTrue(a1.equals(a2)); |
| |||
// stroke // shape a1 = new XYShapeAnnotation(new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke( [[#variable18cb2ee0]]), Color.red, Color.blue); assertFalse(a1.equals(a2)); a2 = new XYShapeAnnotation(new Rectangle2D.Double(4.0, 3.0, 2.0, 1.0), new BasicStroke( [[#variable18cb2ee0]]), Color.red, Color.blue); assertTrue(a1.equals(a2)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18cb2ee0]] | 1.2F |
1 | 2 | [[#18cb2ee0]] | 2.3F |