CloneSet 1271

# CloneSet1271

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
5 | 2 | 3 | 0.955 | method_declaration

Clone Abstraction | Parameter Bindings

Clone Instance (Click to see clone) | Line Count | Source Line | Source File
--- | --- | --- | ---

1

5

593

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java

2

5

608

    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 Abstraction | Parameter Count: 3 | Parameter 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
--- | --- | --- | ---

1

1

`[[#18ef6f40]]`

    calculateLowestVisibleTickValue

1

2

`[[#18ef6f40]]`

    calculateHighestVisibleTickValue

2

1

`[[#18ef6ee0]]`

    ceil

2

2

`[[#18ef6ee0]]`

    floor

3

1

`[[#18ef6da0]]`

    getLowerBound

3

2

`[[#18ef6da0]]`

    getUpperBound