CloneSet462


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14220.974statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114134
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryLabelPositionsTests.java
214149
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryLabelPositionsTests.java
Next
Last
Clone Instance
1
Line Count
14
Source Line
134
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/CategoryLabelPositionsTests.java

p1 = new CategoryLabelPositions(new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_TOP, TextBlockAnchor.CENTER));
assertTrue( !p1.equals(p2));
p2 = new CategoryLabelPositions(new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_TOP, TextBlockAnchor.CENTER));
assertTrue(p1.equals(p2));


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

p1 = new CategoryLabelPositions(new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER));
assertTrue( !p1.equals(p2));
p2 = new CategoryLabelPositions(new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER));
assertTrue(p1.equals(p2));


Clone AbstractionParameter Count: 2Parameter Bindings

p1 = new CategoryLabelPositions(new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition( [[#variable1a9d2460]], TextBlockAnchor. [[#variable1a9d9b60]]));
assertTrue( !p1.equals(p2));
p2 = new CategoryLabelPositions(new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition(RA_BOTTOM, TextBlockAnchor.TOP_CENTER), new CategoryLabelPosition( [[#variable1a9d2460]], TextBlockAnchor. [[#variable1a9d9b60]]));
assertTrue(p1.equals(p2));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9d2460]]
RA_TOP 
12[[#1a9d2460]]
RA_BOTTOM 
21[[#1a9d9b60]]
CENTER 
22[[#1a9d9b60]]
TOP_CENTER