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 | 101 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/block/junit/LabelBlockTests.java |
2 | 6 | 108 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/block/junit/LabelBlockTests.java |
| |||||
b1 = new LabelBlock("XYZ", new Font("Dialog", Font.BOLD, 12), Color.red); assertFalse(b1.equals(b2)); b2 = new LabelBlock("XYZ", new Font("Dialog", Font.BOLD, 12), Color.red); assertTrue(b1.equals(b2)); |
| |||||
b1 = new LabelBlock("XYZ", new Font("Dialog", Font.BOLD, 12), Color.blue); assertFalse(b1.equals(b2)); b2 = new LabelBlock("XYZ", new Font("Dialog", Font.BOLD, 12), Color.blue); assertTrue(b1.equals(b2)); |
| |||
b1 = new LabelBlock("XYZ", new Font("Dialog", Font.BOLD, 12), Color. [[#variable18db73a0]]); assertFalse(b1.equals(b2)); b2 = new LabelBlock("XYZ", new Font("Dialog", Font.BOLD, 12), Color. [[#variable18db73a0]]); assertTrue(b1.equals(b2)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18db73a0]] | red |
1 | 2 | [[#18db73a0]] | blue |