CloneSet391


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.977statement_sequence[12]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116159
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/CategoryPlotTests.java
216148
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/XYPlotTests.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
159
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/CategoryPlotTests.java

// orientation...
plot1.setOrientation(PlotOrientation.HORIZONTAL);
assertFalse(plot1.equals(plot2));
plot2.setOrientation(PlotOrientation.HORIZONTAL);
assertTrue(plot1.equals(plot2));
// axisOffset...
plot1.setAxisOffset(new RectangleInsets(0.05, 0.05, 0.05, 0.05));
assertFalse(plot1.equals(plot2));
plot2.setAxisOffset(new RectangleInsets(0.05, 0.05, 0.05, 0.05));
assertTrue(plot1.equals(plot2));
// domainAxis - no longer a separate field but test anyway...
plot1.setDomainAxis(new CategoryAxis("Category Axis"));
assertFalse(plot1.equals(plot2));
plot2.setDomainAxis(new CategoryAxis("Category Axis"));
assertTrue(plot1.equals(plot2));


First
Previous
Clone Instance
2
Line Count
16
Source Line
148
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/junit/XYPlotTests.java

// orientation...
plot1.setOrientation(PlotOrientation.HORIZONTAL);
assertFalse(plot1.equals(plot2));
plot2.setOrientation(PlotOrientation.HORIZONTAL);
assertTrue(plot1.equals(plot2));
// axisOffset...
plot1.setAxisOffset(new RectangleInsets(0.05, 0.05, 0.05, 0.05));
assertFalse(plot1.equals(plot2));
plot2.setAxisOffset(new RectangleInsets(0.05, 0.05, 0.05, 0.05));
assertTrue(plot1.equals(plot2));
// domainAxis...
plot1.setDomainAxis(new NumberAxis("Domain Axis"));
assertFalse(plot1.equals(plot2));
plot2.setDomainAxis(new NumberAxis("Domain Axis"));
assertTrue(plot1.equals(plot2));


Clone AbstractionParameter Count: 2Parameter Bindings

// orientation...
plot1.setOrientation(PlotOrientation.HORIZONTAL);
assertFalse(plot1.equals(plot2));
plot2.setOrientation(PlotOrientation.HORIZONTAL);
assertTrue(plot1.equals(plot2));
// axisOffset...
plot1.setAxisOffset(new RectangleInsets(0.05, 0.05, 0.05, 0.05));
assertFalse(plot1.equals(plot2));
plot2.setAxisOffset(new RectangleInsets(0.05, 0.05, 0.05, 0.05));
assertTrue(plot1.equals(plot2));
// domainAxis...
// domainAxis - no longer a separate field but test anyway...
plot1.setDomainAxis(new [[#variable1a97b200]]( [[#variable1a97b080]]));
assertFalse(plot1.equals(plot2));
plot2.setDomainAxis(new [[#variable1a97b200]]( [[#variable1a97b080]]));
assertTrue(plot1.equals(plot2));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a97b200]]
CategoryAxis 
12[[#1a97b200]]
NumberAxis 
21[[#1a97b080]]
"Category Axis" 
22[[#1a97b080]]
"Domain Axis"