pupilfirst/pupilfirst

View on GitHub
app/services/courses/delete_service.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

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

    def delete_content
      quiz_questions =
        QuizQuestion.joins(quiz: { assignment: :course }).where(
          courses: {
            id: @course.id
Severity: Minor
Found in app/services/courses/delete_service.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status