hummingbird-me/kitsu-server

View on GitHub
app/models/concerns/rateable.rb

Summary

Maintainability
A
1 hr
Test Coverage
F
44%

Method update_average_ratings has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def update_average_ratings
      #
      # Bayesian rating:
      #
      #     (total + (MIN * global_average)) / (count + MIN)
Severity: Minor
Found in app/models/concerns/rateable.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status