CloneSet1271


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15593
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java
25608
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
593
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java

/**
 * Calculates the value of the lowest visible tick on the axis.
 *
 * @return The value of the lowest visible tick on the axis.
 *
 * @see #calculateHighestVisibleTickValue()
 */
protected double calculateLowestVisibleTickValue() {
  double unit = getTickUnit().getSize();
  double index = Math.ceil(getRange().getLowerBound() / unit);
  return index * unit;
}


First
Previous
Clone Instance
2
Line Count
5
Source Line
608
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java

/**
 * Calculates the value of the highest visible tick on the axis.
 *
 * @return The value of the highest visible tick on the axis.
 *
 * @see #calculateLowestVisibleTickValue()
 */
protected double calculateHighestVisibleTickValue() {
  double unit = getTickUnit().getSize();
  double index = Math.floor(getRange().getUpperBound() / unit);
  return index * unit;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Calculates the value of the highest visible tick on the axis.
     *
     * @return The value of the highest visible tick on the axis.
     *
     * @see #calculateLowestVisibleTickValue()
     */
/**
     * Calculates the value of the lowest visible tick on the axis.
     *
     * @return The value of the lowest visible tick on the axis.
     *
     * @see #calculateHighestVisibleTickValue()
     */
protected double  [[#variable18ef6f40]]() {
  double unit = getTickUnit().getSize();
  double index = Math. [[#variable18ef6ee0]](getRange(). [[#variable18ef6da0]]() / unit);
  return index * unit;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ef6f40]]
calculateLowestVisibleTickValue 
12[[#18ef6f40]]
calculateHighestVisibleTickValue 
21[[#18ef6ee0]]
ceil 
22[[#18ef6ee0]]
floor 
31[[#18ef6da0]]
getLowerBound 
32[[#18ef6da0]]
getUpperBound