sazze/node-pm

View on GitHub

Showing 297 of 342 total issues

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

    clean: function(e, t, n, r) {
      var s, o, u, a, f, l, c, h, p, d, m, g, y = t === i && Ct,
          b = [];
      if (!t || typeof t.createDocumentFragment == "undefined") t = i;
      for (s = 0;
Severity: Minor
Found in docs/template/static/scripts/jquery.min.js - About 1 hr to fix

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

                read: function(count) {
                    var value = getCharacters(count),
                        newlineCount,
                        lastChar;
    
    
    Severity: Minor
    Found in docs/template/static/scripts/sunlight.js - About 1 hr to fix

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

          dispatch: function(n) {
            n = v.event.fix(n || e.event);
            var r, i, s, o, u, a, f, c, h, p, d = (v._data(this, "events") || {})[n.type] || [],
                m = d.delegateCount,
                g = l.call(arguments),
      Severity: Minor
      Found in docs/template/static/scripts/jquery.min.js - About 1 hr to fix

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

            clean: function(e, t, n, r) {
              var s, o, u, a, f, l, c, h, p, d, m, g, y = t === i && Ct,
                  b = [];
              if (!t || typeof t.createDocumentFragment == "undefined") t = i;
              for (s = 0;
        Severity: Minor
        Found in docs/scripts/jquery.min.js - About 1 hr to fix

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

                      read: function(count) {
                          var value = getCharacters(count),
                              newlineCount,
                              lastChar;
          
          
          Severity: Minor
          Found in docs/scripts/sunlight.js - About 1 hr to fix

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

                dispatch: function(n) {
                  n = v.event.fix(n || e.event);
                  var r, i, s, o, u, a, f, c, h, p, d = (v._data(this, "events") || {})[n.type] || [],
                      m = d.delegateCount,
                      g = l.call(arguments),
            Severity: Minor
            Found in docs/scripts/jquery.min.js - About 1 hr to fix

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

                p.absoluteTo = function(base) {
                  var resolved = this.clone();
                  var properties = ['protocol', 'username', 'password', 'hostname', 'port'];
                  var basedir, i, p;
                  if (this._parts.urn) {
              Severity: Minor
              Found in docs/template/static/scripts/URI.js - About 1 hr to fix

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

                  p.filename = function(v, build) {
                    if (this._parts.urn) {
                      return v === undefined ? '' : this;
                    }
                    if (v === undefined || v === true) {
                Severity: Minor
                Found in docs/template/static/scripts/URI.js - About 1 hr to fix

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

                      function createProceduralRule(startIndex, direction, tokenRequirements, caseInsensitive) {
                          tokenRequirements = tokenRequirements.slice(0);
                          return function(tokens) {
                              var tokenIndexStart = startIndex,
                                  j,
                  Severity: Minor
                  Found in docs/template/static/scripts/sunlight.js - About 1 hr to fix

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

                            registerLanguage: function(languageId, languageData) {
                                var tokenName,
                                    embeddedLanguages,
                                    languageName;
                                
                    Severity: Minor
                    Found in docs/template/static/scripts/sunlight.js - About 1 hr to fix

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

                          function scroll( e, link, settings ){
                              var id = link.hash.slice(1),
                                  elem = document.getElementById(id) || document.getElementsByName(id)[0];
                      
                              if ( !elem )
                      Severity: Minor
                      Found in docs/template/static/scripts/jquery.localScroll.js - About 1 hr to fix

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

                            function createProceduralRule(startIndex, direction, tokenRequirements, caseInsensitive) {
                                tokenRequirements = tokenRequirements.slice(0);
                                return function(tokens) {
                                    var tokenIndexStart = startIndex,
                                        j,
                        Severity: Minor
                        Found in docs/scripts/sunlight.js - About 1 hr to fix

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

                            p.absoluteTo = function(base) {
                              var resolved = this.clone();
                              var properties = ['protocol', 'username', 'password', 'hostname', 'port'];
                              var basedir, i, p;
                              if (this._parts.urn) {
                          Severity: Minor
                          Found in docs/scripts/URI.js - About 1 hr to fix

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

                                    registerLanguage: function(languageId, languageData) {
                                        var tokenName,
                                            embeddedLanguages,
                                            languageName;
                                        
                            Severity: Minor
                            Found in docs/scripts/sunlight.js - About 1 hr to fix

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

                                  function scroll( e, link, settings ){
                                      var id = link.hash.slice(1),
                                          elem = document.getElementById(id) || document.getElementsByName(id)[0];
                              
                                      if ( !elem )
                              Severity: Minor
                              Found in docs/scripts/jquery.localScroll.js - About 1 hr to fix

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

                                  p.filename = function(v, build) {
                                    if (this._parts.urn) {
                                      return v === undefined ? '' : this;
                                    }
                                    if (v === undefined || v === true) {
                                Severity: Minor
                                Found in docs/scripts/URI.js - About 1 hr to fix

                                  Function m has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function m() {
                                        for (var e = window.PR_SHOULD_USE_CONTINUATION ? l.now() + 250 : Infinity; p < h.length && l.now() < e; p++) {
                                          var n = h[p],
                                              k = n.className;
                                          if (k.indexOf("prettyprint") >= 0) {
                                  Severity: Minor
                                  Found in docs/template/static/scripts/prettify/prettify.js - About 1 hr to fix

                                    Function onclick has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            viewRawLink.onclick = function() {
                                                var textarea;
                                                return function() {
                                                    var rawCode;
                                                    
                                    Severity: Minor
                                    Found in docs/template/static/scripts/sunlight-plugin.menu.js - About 1 hr to fix

                                      Function matchWord has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function matchWord(context, wordMap, tokenName, doNotRead) {
                                              var current = context.reader.current(),
                                                  i,
                                                  word,
                                                  peek,
                                      Severity: Minor
                                      Found in docs/template/static/scripts/sunlight.js - About 1 hr to fix

                                        Function onclick has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                viewRawLink.onclick = function() {
                                                    var textarea;
                                                    return function() {
                                                        var rawCode;
                                                        
                                        Severity: Minor
                                        Found in docs/scripts/sunlight-plugin.menu.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language