Coursemology/coursemology2

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

Summary

Maintainability
A
1 hr
Test Coverage

Method group_names_hash has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def group_names_hash
    group_names = Course::Group.find_by_sql(<<-SQL.squish
      WITH course_students AS (
        SELECT cgu.group_id, cgu.course_user_id
        FROM course_group_users cgu
Severity: Minor
Found in app/controllers/concerns/course/statistics/users_concern.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status