CloneSet447


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

dataset.setValue(100.0, "Row 1", "Column 1");
dataset.setValue(200.0, "Row 1", "Column 2");
JFreeChart chart = ChartFactory.createBarChart("Test", "Categories", "Value", dataset, PlotOrientation.VERTICAL, false, false, false);
CategoryPlot plot = (CategoryPlot) chart.getPlot();
LogAxis axis = new LogAxis("Log(Y)");
plot.setRangeAxis(axis);
assertEquals(0.0, axis.getLowerBound(), EPSILON);
assertEquals(2.6066426411261268E7, axis.getUpperBound(), EPSILON);


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

dataset.setValue(100.0, "Row 1", "Column 1");
dataset.setValue(200.0, "Row 1", "Column 2");
JFreeChart chart = ChartFactory.createLineChart("Test", "Categories", "Value", dataset, PlotOrientation.VERTICAL, false, false, false);
CategoryPlot plot = (CategoryPlot) chart.getPlot();
LogAxis axis = new LogAxis("Log(Y)");
plot.setRangeAxis(axis);
assertEquals(96.59363289248458, axis.getLowerBound(), EPSILON);
assertEquals(207.0529847682752, axis.getUpperBound(), EPSILON);


Clone AbstractionParameter Count: 3Parameter Bindings

dataset.setValue(100.0, "Row 1", "Column 1");
dataset.setValue(200.0, "Row 1", "Column 2");
JFreeChart chart = ChartFactory. [[#variable1a9c3c80]]("Test", "Categories", "Value", dataset, PlotOrientation.VERTICAL, false, false, false);
CategoryPlot plot = (CategoryPlot) chart.getPlot();
LogAxis axis = new LogAxis("Log(Y)");
plot.setRangeAxis(axis);
assertEquals( [[#variable1a9c2fc0]], axis.getLowerBound(), EPSILON);
assertEquals( [[#variable1a9b33a0]], axis.getUpperBound(), EPSILON);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9c3c80]]
createBarChart 
12[[#1a9c3c80]]
createLineChart 
21[[#1a9c2fc0]]
0.0 
22[[#1a9c2fc0]]
96.59363289248458 
31[[#1a9b33a0]]
2.6066426411261268E7 
32[[#1a9b33a0]]
207.0529847682752