tasafo/palestras-coletivas

View on GitHub
app/policies/rateable.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Rateable#average doesn't depend on instance state (maybe move it to another class?)
Open

  def average(ratings)
Severity: Minor
Found in app/policies/rateable.rb by reek

A Utility Function is any instance method that has no dependency on the state of the instance.

Rateable#round_by_point doesn't depend on instance state (maybe move it to another class?)
Open

  def round_by_point(rating)
Severity: Minor
Found in app/policies/rateable.rb by reek

A Utility Function is any instance method that has no dependency on the state of the instance.

There are no issues that match your filters.

Category
Status