openmrs/openmrs-contrib-id

View on GitHub
resource/scripts/signup.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function vns has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        vns: function(callback) {
            // check recaptcha first
            if (grecaptcha.getResponse() === "") {
                setTimeout(function() {
                    $('form#form-signup').find('input#submit')
Severity: Minor
Found in resource/scripts/signup.js - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

                    return field.focus();
    Severity: Major
    Found in resource/scripts/signup.js - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status