CloneSet264


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23230.965statement_sequence[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
123101
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryLabelPositionTests.java
221125
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryLabelPositionTests.java
Next
Last
Clone Instance
1
Line Count
23
Source Line
101
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryLabelPositionTests.java

p1 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER_RIGHT, TextAnchor.BASELINE_LEFT, Math.PI / 4.0, CategoryLabelWidthType.RANGE, 0.44F);
assertFalse(p1.equals(p2));
p2 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER_RIGHT, TextAnchor.BASELINE_LEFT, Math.PI / 4.0, CategoryLabelWidthType.RANGE, 0.44F);
assertTrue(p1.equals(p2));
p1 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor.BASELINE_LEFT, Math.PI / 4.0, CategoryLabelWidthType.RANGE, 0.44F);
assertFalse(p1.equals(p2));
p2 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor.BASELINE_LEFT, Math.PI / 4.0, CategoryLabelWidthType.RANGE, 0.44F);
assertTrue(p1.equals(p2));


First
Previous
Clone Instance
2
Line Count
21
Source Line
125
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryLabelPositionTests.java

p1 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor.CENTER, Math.PI / 4.0, CategoryLabelWidthType.RANGE, 0.44F);
assertFalse(p1.equals(p2));
p2 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor.CENTER, Math.PI / 4.0, CategoryLabelWidthType.RANGE, 0.44F);
assertTrue(p1.equals(p2));
p1 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor.CENTER, Math.PI / 6.0, CategoryLabelWidthType.RANGE, 0.44F);
assertFalse(p1.equals(p2));
p2 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor.CENTER, Math.PI / 6.0, CategoryLabelWidthType.RANGE, 0.44F);
assertTrue(p1.equals(p2));


Clone AbstractionParameter Count: 3Parameter Bindings

p1 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor. [[#variable1a87e3a0]], TextAnchor. [[#variable1a87e0e0]], Math.PI / 4.0, CategoryLabelWidthType.RANGE, 0.44F);
assertFalse(p1.equals(p2));
p2 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor. [[#variable1a87e3a0]], TextAnchor. [[#variable1a87e0e0]], Math.PI / 4.0, CategoryLabelWidthType.RANGE, 0.44F);
assertTrue(p1.equals(p2));
p1 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor. [[#variable1a87e0e0]], Math.PI /  [[#variable1a87e100]], CategoryLabelWidthType.RANGE, 0.44F);
assertFalse(p1.equals(p2));
p2 = new CategoryLabelPosition(RectangleAnchor.TOP, TextBlockAnchor.CENTER, TextAnchor. [[#variable1a87e0e0]], Math.PI /  [[#variable1a87e100]], CategoryLabelWidthType.RANGE, 0.44F);
assertTrue(p1.equals(p2));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a87e3a0]]
CENTER_RIGHT 
12[[#1a87e3a0]]
CENTER 
21[[#1a87e0e0]]
BASELINE_LEFT 
22[[#1a87e0e0]]
CENTER 
31[[#1a87e100]]
4.0 
32[[#1a87e100]]
6.0