ghostbar/angular-zxcvbn

View on GitHub

Showing 3 of 5 total issues

Function exports has 115 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(config) {
  // define SL browsers
  var customLaunchers = {
    sl_ie10: {
      base: 'SauceLabs',
Severity: Major
Found in karma-saucelabs.conf.js - About 4 hrs to fix

    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

      Function exports has 29 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      module.exports = function(config) {
        config.set({
          // base path, that will be used to resolve files and exclude
          basePath: '',
      
      
      Severity: Minor
      Found in karma.conf.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language