Coursemology/coursemology2

View on GitHub
app/controllers/course/statistics/aggregate_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method correctness_hash has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def correctness_hash
    query = CourseUser.find_by_sql(<<-SQL.squish
      SELECT
        id,
        AVG(correctness) AS correctness
Severity: Minor
Found in app/controllers/course/statistics/aggregate_controller.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status