piotrmurach/benchmark-trend

View on GitHub

Showing 1 of 1 total issue

Method fit has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def fit(xs, ys, tran_x: ->(x) { x }, tran_y: ->(y) { y })
      eps    = (10 ** -10)
      n      = 0
      sum_x  = 0.0
      sum_x2 = 0.0
Severity: Minor
Found in lib/benchmark/trend.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language