ghostbar/angular-zxcvbn

View on GitHub
src/attribute-directive.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function link has 75 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        link: function (scope, element, attrs, ngModelCtrl) {

          /**
           * Runs the zxcvbn algorithm with the scope variables: "zxPassword", "zxExtras".
           * Then assigns the result to "scope.zxResults".
Severity: Major
Found in src/attribute-directive.js - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status