wallin/angular-gravatar

View on GitHub

Showing 19 of 21 total issues

File angular-gravatar.js has 372 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* jshint ignore:start */
/*
 * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
 * Digest Algorithm, as defined in RFC 1321.
 * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009
Severity: Minor
Found in build/angular-gravatar.js - About 4 hrs to fix

    Function binl_md5 has 82 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function binl_md5(x, len)
      {
        /* append padding */
        x[len >> 5] |= 0x80 << ((len) % 32);
        x[(((len + 64) >>> 9) << 4) + 14] = len;
    Severity: Major
    Found in src/md5.js - About 3 hrs to fix

      Function binl_md5 has 82 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        function binl_md5(x, len)
        {
          /* append padding */
          x[len >> 5] |= 0x80 << ((len) % 32);
          x[(((len + 64) >>> 9) << 4) + 14] = len;
      Severity: Major
      Found in build/angular-gravatar.js - About 3 hrs to fix

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

        module.exports = function (grunt) {
          // load all grunt tasks
          require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
          grunt.loadNpmTasks('grunt-coffeelint');
          grunt.initConfig({
        Severity: Major
        Found in Gruntfile.js - About 3 hrs to fix

          File md5.js has 276 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /* jshint ignore:start */
          /*
           * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
           * Digest Algorithm, as defined in RFC 1321.
           * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009
          Severity: Minor
          Found in src/md5.js - About 2 hrs to fix

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

              function rstr2any(input, encoding)
              {
                var divisor = encoding.length;
                var i, j, q, x, quotient;
            
            
            Severity: Minor
            Found in build/angular-gravatar.js - About 1 hr to fix

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

                function rstr2any(input, encoding)
                {
                  var divisor = encoding.length;
                  var i, j, q, x, quotient;
              
              
              Severity: Minor
              Found in src/md5.js - About 1 hr to fix

                Function str2rstr_utf8 has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  function str2rstr_utf8(input)
                  {
                    var output = "";
                    var i = -1;
                    var x, y;
                Severity: Minor
                Found in build/angular-gravatar.js - About 1 hr to fix

                  Function str2rstr_utf8 has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    function str2rstr_utf8(input)
                    {
                      var output = "";
                      var i = -1;
                      var x, y;
                  Severity: Minor
                  Found in src/md5.js - About 1 hr to fix

                    Function md5_hh has 7 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      function md5_hh(a, b, c, d, x, s, t)
                    Severity: Major
                    Found in src/md5.js - About 50 mins to fix

                      Function md5_ii has 7 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        function md5_ii(a, b, c, d, x, s, t)
                      Severity: Major
                      Found in src/md5.js - About 50 mins to fix

                        Function md5_hh has 7 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                          function md5_hh(a, b, c, d, x, s, t)
                        Severity: Major
                        Found in build/angular-gravatar.js - About 50 mins to fix

                          Function md5_gg has 7 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                            function md5_gg(a, b, c, d, x, s, t)
                          Severity: Major
                          Found in build/angular-gravatar.js - About 50 mins to fix

                            Function md5_ff has 7 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                              function md5_ff(a, b, c, d, x, s, t)
                            Severity: Major
                            Found in src/md5.js - About 50 mins to fix

                              Function md5_gg has 7 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                function md5_gg(a, b, c, d, x, s, t)
                              Severity: Major
                              Found in src/md5.js - About 50 mins to fix

                                Function md5_ff has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                  function md5_ff(a, b, c, d, x, s, t)
                                Severity: Major
                                Found in build/angular-gravatar.js - About 50 mins to fix

                                  Function md5_ii has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    function md5_ii(a, b, c, d, x, s, t)
                                  Severity: Major
                                  Found in build/angular-gravatar.js - About 50 mins to fix

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

                                      function md5_cmn(q, a, b, x, s, t)
                                    Severity: Minor
                                    Found in src/md5.js - About 45 mins to fix

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

                                        function md5_cmn(q, a, b, x, s, t)
                                      Severity: Minor
                                      Found in build/angular-gravatar.js - About 45 mins to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language