pupilfirst/pupilfirst

View on GitHub
app/services/course_exports/prepare_students_export_service.rb

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Method student_rows has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def student_rows
      rows =
        students.map do |student|
          user = student.user

Severity: Minor
Found in app/services/course_exports/prepare_students_export_service.rb - About 1 hr to fix

    Method target_rows has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def target_rows
          values =
            targets.map do |target|
              milestone = milestone?(target)
    
    
    Severity: Minor
    Found in app/services/course_exports/prepare_students_export_service.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status