CloneSet178


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119472
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/BarRenderer3D.java
219397
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LineRenderer3D.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
472
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/BarRenderer3D.java

if (orientation == PlotOrientation.HORIZONTAL) {
  double x0 = axis.valueToJava2D(value, adjusted, plot.getRangeAxisEdge());
  double x1 = x0 + getXOffset();
  double y0 = dataArea.getMaxY();
  double y1 = y0 - getYOffset();
  double y2 = dataArea.getMinY();
  line1 = new Line2D.Double(x0, y0, x1, y1);
  line2 = new Line2D.Double(x1, y1, x1, y2);
}
else
  if (orientation == PlotOrientation.VERTICAL) {
    double y0 = axis.valueToJava2D(value, adjusted, plot.getRangeAxisEdge());
    double y1 = y0 - getYOffset();
    double x0 = dataArea.getMinX();
    double x1 = x0 + getXOffset();
    double x2 = dataArea.getMaxX();
    line1 = new Line2D.Double(x0, y0, x1, y1);
    line2 = new Line2D.Double(x1, y1, x2, y1);
  }


First
Previous
Clone Instance
2
Line Count
19
Source Line
397
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LineRenderer3D.java

if (orientation == PlotOrientation.HORIZONTAL) {
  double x0 = axis.valueToJava2D(value, adjusted, plot.getRangeAxisEdge());
  double x1 = x0 + getXOffset();
  double y0 = dataArea.getMaxY();
  double y1 = y0 - getYOffset();
  double y2 = dataArea.getMinY();
  line1 = new Line2D.Double(x0, y0, x1, y1);
  line2 = new Line2D.Double(x1, y1, x1, y2);
}
else
  if (orientation == PlotOrientation.VERTICAL) {
    double y0 = axis.valueToJava2D(value, adjusted, plot.getRangeAxisEdge());
    double y1 = y0 - getYOffset();
    double x0 = dataArea.getMinX();
    double x1 = x0 + getXOffset();
    double x2 = dataArea.getMaxX();
    line1 = new Line2D.Double(x0, y0, x1, y1);
    line2 = new Line2D.Double(x1, y1, x2, y1);
  }


Clone AbstractionParameter Count: 0Parameter Bindings

if (orientation == PlotOrientation.HORIZONTAL) {
  double x0 = axis.valueToJava2D(value, adjusted, plot.getRangeAxisEdge());
  double x1 = x0 + getXOffset();
  double y0 = dataArea.getMaxY();
  double y1 = y0 - getYOffset();
  double y2 = dataArea.getMinY();
  line1 = new Line2D.Double(x0, y0, x1, y1);
  line2 = new Line2D.Double(x1, y1, x1, y2);
}
else
  if (orientation == PlotOrientation.VERTICAL) {
    double y0 = axis.valueToJava2D(value, adjusted, plot.getRangeAxisEdge());
    double y1 = y0 - getYOffset();
    double x0 = dataArea.getMinX();
    double x1 = x0 + getXOffset();
    double x2 = dataArea.getMaxX();
    line1 = new Line2D.Double(x0, y0, x1, y1);
    line2 = new Line2D.Double(x1, y1, x2, y1);
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None