piotrmurach/benchmark-trend

View on GitHub
lib/benchmark/trend.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status