sazze/node-pm

View on GitHub

Showing 297 of 342 total issues

Function createCodeReader has 88 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function createCodeReader(text) {
        var index = 0,
            line = 1,
            column = 1,
            length,
Severity: Major
Found in docs/template/static/scripts/sunlight.js - About 3 hrs to fix

    Function createCodeReader has 88 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function createCodeReader(text) {
            var index = 0,
                line = 1,
                column = 1,
                length,
    Severity: Major
    Found in docs/scripts/sunlight.js - About 3 hrs to fix

      Consider simplifying this complex logical expression.
      Open

          if (!n.crossDomain || v.support.cors) {
            var r;
            return {
              send: function(i, s) {
                var o, u, a = n.xhr();
      Severity: Critical
      Found in docs/template/static/scripts/jquery.min.js - About 3 hrs to fix

        Consider simplifying this complex logical expression.
        Open

            if (!n.crossDomain || v.support.cors) {
              var r;
              return {
                send: function(i, s) {
                  var o, u, a = n.xhr();
        Severity: Critical
        Found in docs/scripts/jquery.min.js - About 3 hrs to fix

          Function buildNav has 74 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function buildNav( members ) {
          
              var seen = {};
              var nav = navigationMaster;
              if ( members.modules.length ) {
          Severity: Major
          Found in docs/template/publish.js - About 2 hrs to fix

            Function L has 73 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              function L(a) {
                function m(a) {
                  var f = a.charCodeAt(0);
                  if (f !== 92) return f;
                  var b = a.charAt(1);
            Severity: Major
            Found in docs/template/static/scripts/prettify/prettify.js - About 2 hrs to fix

              Function L has 73 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                function L(a) {
                  function m(a) {
                    var f = a.charCodeAt(0);
                    if (f !== 92) return f;
                    var b = a.charAt(1);
              Severity: Major
              Found in docs/scripts/prettify/prettify.js - About 2 hrs to fix

                Function scrollTo has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    $.fn.scrollTo = function( target, duration, settings ){
                        if( typeof duration == 'object' ){
                            settings = duration;
                            duration = 0;
                        }
                Severity: Major
                Found in docs/template/static/scripts/jquery.scrollTo.js - About 2 hrs to fix

                  Function scrollTo has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      $.fn.scrollTo = function( target, duration, settings ){
                          if( typeof duration == 'object' ){
                              settings = duration;
                              duration = 0;
                          }
                  Severity: Major
                  Found in docs/scripts/jquery.scrollTo.js - About 2 hrs to fix

                    Function customParseRules has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                                function(context) {
                                    var peek = context.reader.peek(),
                                        isValid,
                                        regexLiteral = "/",
                                        line = context.reader.getLine(),
                    Severity: Major
                    Found in docs/template/static/scripts/sunlight.javascript.js - About 2 hrs to fix

                      Function customParseRules has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                                  function(context) {
                                      var peek = context.reader.peek(),
                                          isValid,
                                          regexLiteral = "/",
                                          line = context.reader.getLine(),
                      Severity: Major
                      Found in docs/scripts/sunlight.javascript.js - About 2 hrs to fix

                        Function toc has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        $.fn.toc = function(options) {
                          var self = this;
                          var opts = $.extend({}, jQuery.fn.toc.defaults, options);
                        
                          var container = $(opts.container);
                        Severity: Major
                        Found in docs/template/static/scripts/toc.js - About 2 hrs to fix

                          Function toc has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          $.fn.toc = function(options) {
                            var self = this;
                            var opts = $.extend({}, jQuery.fn.toc.defaults, options);
                          
                            var container = $(opts.container);
                          Severity: Major
                          Found in docs/scripts/toc.js - About 2 hrs to fix

                            Function Callbacks has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              v.Callbacks = function(e) {
                                e = typeof e == "string" ? M[e] || _(e) : v.extend({}, e);
                                var n, r, i, s, o, u, a = [],
                                    f = !e.once && [],
                                    l = function(t) {
                            Severity: Major
                            Found in docs/template/static/scripts/jquery.min.js - About 2 hrs to fix

                              Function Callbacks has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                v.Callbacks = function(e) {
                                  e = typeof e == "string" ? M[e] || _(e) : v.extend({}, e);
                                  var n, r, i, s, o, u, a = [],
                                      f = !e.once && [],
                                      l = function(t) {
                              Severity: Major
                              Found in docs/scripts/jquery.min.js - About 2 hrs to fix

                                Function tokenize has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        function tokenize(unhighlightedCode, language, partialContext, options) {
                                            var tokens = [],
                                                context,
                                                continuation,
                                                token;
                                Severity: Major
                                Found in docs/template/static/scripts/sunlight.js - About 2 hrs to fix

                                  Function tokenize has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          function tokenize(unhighlightedCode, language, partialContext, options) {
                                              var tokens = [],
                                                  context,
                                                  continuation,
                                                  token;
                                  Severity: Major
                                  Found in docs/scripts/sunlight.js - About 2 hrs to fix

                                    Function E has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      function E(a) {
                                        var m =
                                        a.g;
                                        try {
                                          var e = M(a.h),
                                    Severity: Major
                                    Found in docs/template/static/scripts/prettify/prettify.js - About 2 hrs to fix

                                      Function equals has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        p.equals = function(uri) {
                                          var one = this.clone();
                                          var two = new URI(uri);
                                          var one_map = {};
                                          var two_map = {};
                                      Severity: Major
                                      Found in docs/template/static/scripts/URI.js - About 2 hrs to fix

                                        Function equals has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                          p.equals = function(uri) {
                                            var one = this.clone();
                                            var two = new URI(uri);
                                            var one_map = {};
                                            var two_map = {};
                                        Severity: Major
                                        Found in docs/scripts/URI.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language