Coursemology/coursemology2

View on GitHub
app/controllers/concerns/course/statistics/submissions_concern.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method answer_statistics_hash has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def answer_statistics_hash
    submission_answer_statistics = Course::Assessment::Answer.find_by_sql(<<-SQL.squish
      WITH
        attempt_count AS (
          SELECT
Severity: Major
Found in app/controllers/concerns/course/statistics/submissions_concern.rb - About 2 hrs to fix

There are no issues that match your filters.

Category
Status