openSUSE/open-build-service

View on GitHub
src/api/app/helpers/status_helper.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method resample has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.resample(values, samples = 400)
    values.sort_by! { |a| a[0] }

    result = []
    return result if values.empty?
Severity: Minor
Found in src/api/app/helpers/status_helper.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status