Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.979 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 92 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/ArcDialFrameTests.java |
2 | 6 | 100 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/ArcDialFrameTests.java |
| |||||
// background paint f1.setBackgroundPaint(new GradientPaint(1.0F, 2.0F, Color.red, 3.0F, 4.0F, Color.yellow)); assertFalse(f1.equals(f2)); f2.setBackgroundPaint(new GradientPaint(1.0F, 2.0F, Color.red, 3.0F, 4.0F, Color.yellow)); assertTrue(f1.equals(f2)); |
| |||||
// foreground paint f1.setForegroundPaint(new GradientPaint(1.0F, 2.0F, Color.red, 3.0F, 4.0F, Color.yellow)); assertFalse(f1.equals(f2)); f2.setForegroundPaint(new GradientPaint(1.0F, 2.0F, Color.red, 3.0F, 4.0F, Color.yellow)); assertTrue(f1.equals(f2)); |
| |||
// foreground paint // background paint f1. [[#variable18d9c580]](new GradientPaint(1.0F, 2.0F, Color.red, 3.0F, 4.0F, Color.yellow)); assertFalse(f1.equals(f2)); f2. [[#variable18d9c580]](new GradientPaint(1.0F, 2.0F, Color.red, 3.0F, 4.0F, Color.yellow)); assertTrue(f1.equals(f2)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d9c580]] | setBackgroundPaint |
1 | 2 | [[#18d9c580]] | setForegroundPaint |