CloneSet163


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22210.994class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
122813
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/BoxAndWhiskerRenderer.java
222751
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYBoxAndWhiskerRenderer.java
Next
Last
Clone Instance
1
Line Count
22
Source Line
813
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/BoxAndWhiskerRenderer.java

/**
 * Draws a triangle to indicate the presence of far-out values.
 *
 * @param aRadius  the radius.
 * @param g2  the graphics device.
 * @param xx  the x coordinate.
 * @param m  the y coordinate.
 */
private void drawHighFarOut(double aRadius, Graphics2D g2, double xx, double m) {
  double side = aRadius * 2;
  g2.draw(new Line2D.Double(xx - side, m + side, xx + side, m + side));
  g2.draw(new Line2D.Double(xx - side, m + side, xx, m));
  g2.draw(new Line2D.Double(xx + side, m + side, xx, m));
}

/**
 * Draws a triangle to indicate the presence of far-out values.
 *
 * @param aRadius  the radius.
 * @param g2  the graphics device.
 * @param xx  the x coordinate.
 * @param m  the y coordinate.
 */
private void drawLowFarOut(double aRadius, Graphics2D g2, double xx, double m) {
  double side = aRadius * 2;
  g2.draw(new Line2D.Double(xx - side, m - side, xx + side, m - side));
  g2.draw(new Line2D.Double(xx - side, m - side, xx, m));
  g2.draw(new Line2D.Double(xx + side, m - side, xx, m));
}


First
Previous
Clone Instance
2
Line Count
22
Source Line
751
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYBoxAndWhiskerRenderer.java

/**
 * Draws a triangle to indicate the presence of far out values.
 * 
 * @param aRadius  the radius.
 * @param g2  the graphics device.
 * @param xx  the x value.
 * @param m  the max y value.
 */
protected void drawHighFarOut(double aRadius, Graphics2D g2, double xx, double m) {
  double side = aRadius * 2;
  g2.draw(new Line2D.Double(xx - side, m + side, xx + side, m + side));
  g2.draw(new Line2D.Double(xx - side, m + side, xx, m));
  g2.draw(new Line2D.Double(xx + side, m + side, xx, m));
}

/**
 * Draws a triangle to indicate the presence of far out values.
 * 
 * @param aRadius  the radius.
 * @param g2  the graphics device.
 * @param xx  the x value.
 * @param m  the min y value.
 */
protected void drawLowFarOut(double aRadius, Graphics2D g2, double xx, double m) {
  double side = aRadius * 2;
  g2.draw(new Line2D.Double(xx - side, m - side, xx + side, m - side));
  g2.draw(new Line2D.Double(xx - side, m - side, xx, m));
  g2.draw(new Line2D.Double(xx + side, m - side, xx, m));
}


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variable1aab3600]]void drawHighFarOut(double aRadius, Graphics2D g2, double xx, double m) {
  double side = aRadius * 2;
  g2.draw(new Line2D.Double(xx - side, m + side, xx + side, m + side));
  g2.draw(new Line2D.Double(xx - side, m + side, xx, m));
  g2.draw(new Line2D.Double(xx + side, m + side, xx, m));
}

 [[#variable1aab3600]]void drawLowFarOut(double aRadius, Graphics2D g2, double xx, double m) {
  double side = aRadius * 2;
  g2.draw(new Line2D.Double(xx - side, m - side, xx + side, m - side));
  g2.draw(new Line2D.Double(xx - side, m - side, xx, m));
  g2.draw(new Line2D.Double(xx + side, m - side, xx, m));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1aab3600]]
/**
 * Draws a triangle to indicate the presence of far-out values.
 *
 * @param aRadius  the radius.
 * @param g2  the graphics device.
 * @param xx  the x coordinate.
 * @param m  the y coordinate.
 */
private 
12[[#1aab3600]]
/**
 * Draws a triangle to indicate the presence of far out values.
 * 
 * @param aRadius  the radius.
 * @param g2  the graphics device.
 * @param xx  the x value.
 * @param m  the max y value.
 */
protected