ablanco/jquery.pwstrength.bootstrap

View on GitHub
src/ui.progressbar.js

Summary

Maintainability
A
1 hr
Test Coverage

Function updateProgressBar has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    ui.updateProgressBar = function(options, $el, cssClass, percentage) {
        var $progressbar = ui.getUIElements(options, $el).$progressbar,
            $bar = $progressbar.find('.progress-bar'),
            cssPrefix = 'progress-';

Severity: Minor
Found in src/ui.progressbar.js - About 1 hr to fix

    Function showProgressBar has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            options,
            $el,
            score,
            cssClass,
            verdictCssClass,
    Severity: Minor
    Found in src/ui.progressbar.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status