Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.973 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 293 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/LogAxis.java |
2 | 2 | 125 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/util/LogFormat.java |
| |||||
/** * Calculates the log of the given value, using the current base. * * @param value the value. * * @return The log of the given value. * * @see #calculateValue(double) * @see #getBase() */ public double calculateLog(double value) { return Math.log(value) / this.baseLog; } |
| |||||
/** * Calculates the log of a given value. * * @param value the value. * * @return The log of the value. */ private double calculateLog(double value) { return Math.log(value) / this.baseLog; } |
| |||
[[#variable1a11b880]]double calculateLog(double value) { return Math.log(value) / this.baseLog; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a11b880]] | /** * Calculates the log of the given value, using the current base. * * @param value the value. * * @return The log of the given value. * * @see #calculateValue(double) * @see #getBase() */ public |
1 | 2 | [[#1a11b880]] | /** * Calculates the log of a given value. * * @param value the value. * * @return The log of the value. */ private |