Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.979 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 237 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/renderer/junit/LookupPaintScaleTests.java |
2 | 5 | 245 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/renderer/junit/LookupPaintScaleTests.java |
| |||||
assertEquals(Color.black, s.getPaint(-1.0)); assertEquals(Color.black, s.getPaint(0.0)); assertEquals(Color.green, s.getPaint(25.0)); assertEquals(Color.red, s.getPaint(50.0)); assertEquals(Color.red, s.getPaint(100.0)); |
| |||||
assertEquals(Color.black, s.getPaint(-1.0)); assertEquals(Color.black, s.getPaint(0.0)); assertEquals(Color.green, s.getPaint(25.0)); assertEquals(Color.red, s.getPaint(50.0)); assertEquals(Color.yellow, s.getPaint(75.0)); |
| |||
assertEquals(Color.black, s.getPaint(-1.0)); assertEquals(Color.black, s.getPaint(0.0)); assertEquals(Color.green, s.getPaint(25.0)); assertEquals(Color.red, s.getPaint(50.0)); assertEquals(Color. [[#variable18da3140]], s.getPaint( [[#variable18da4be0]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18da3140]] | red |
1 | 2 | [[#18da3140]] | yellow |
2 | 1 | [[#18da4be0]] | 100.0 |
2 | 2 | [[#18da4be0]] | 75.0 |