pupilfirst/pupilfirst

View on GitHub
app/graphql/mutations/update_student_details.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
95%

Method update_student_details has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def update_student_details
      if student&.name != @params[:name].strip
        Users::LogUsernameUpdateService.new(
          current_user,
          @params[:name],
Severity: Minor
Found in app/graphql/mutations/update_student_details.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status