dspies/ua-security

View on GitHub

Showing 3 of 3 total issues

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

module.exports = function (grunt) {

  // Load grunt tasks automatically
  require('load-grunt-tasks')(grunt);

Severity: Major
Found in Gruntfile.js - About 1 day to fix

    Function SecurityService has 69 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function SecurityService(authenticationService, userStorageService){
    
          var NULL_USER = { username: '', roles: []};
    
          this.getCurrentUser = function(){
    Severity: Major
    Found in app/scripts/services/securityService.js - About 2 hrs to fix

      Function AuthenticationService has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function AuthenticationService($http, $q){
      
            this.authenticate = function(username, password){
      
              var deferred = $q.defer();
      Severity: Minor
      Found in app/scripts/services/authenticationService.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language