gocodebox/lifterlms

View on GitHub
assets/js/llms-quiz-attempt-review.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function Grading has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var Grading = function() {

        /**
         * Bind DOM events
         *
Severity: Minor
Found in assets/js/llms-quiz-attempt-review.js - About 1 hr to fix

    Function setup_fields has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            function setup_fields() {
    
                $els = $( '.llms-quiz-attempt-question:not(.type--content):not(.type--removed)' );
    
                if ( $els.length < 1 ) {
    Severity: Minor
    Found in assets/js/llms-quiz-attempt-review.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status