sazze/node-pm

View on GitHub

Showing 297 of 342 total issues

Consider simplifying this complex logical expression.
Open

        if (n[d]) {
          r = ++a;
          for (; r < s; r++) if (i.relative[e[r].type]) break;
          return ct(a > 1 && ft(h), a > 1 && e.slice(0, a - 1).join("").replace(j, "$1"), n, a < r && ht(e.slice(a, r)), r < s && ht(e = e.slice(r)), r < s && e.join(""))
        }
Severity: Major
Found in docs/template/static/scripts/jquery.min.js - About 40 mins to fix

    Consider simplifying this complex logical expression.
    Open

          if ((!v.support.noCloneEvent || !v.support.noCloneChecked) && (e.nodeType === 1 || e.nodeType === 11) && !v.isXMLDoc(e)) {
            Ot(e, o), r = Mt(e), i = Mt(o);
            for (s = 0; r[s]; ++s) i[s] && Ot(r[s], i[s])
          }
    Severity: Major
    Found in docs/scripts/jquery.min.js - About 40 mins to fix

      Consider simplifying this complex logical expression.
      Open

                if (!v.support.tbody) {
                  h = mt.test(u), p = a === "table" && !h ? c.firstChild && c.firstChild.childNodes : f[1] === "<table>" && !h ? c.childNodes : [];
                  for (o = p.length - 1; o >= 0; --o) v.nodeName(p[o], "tbody") && !p[o].childNodes.length && p[o].parentNode.removeChild(p[o])
                }!v.support.leadingWhitespace && pt.test(u) && c.insertBefore(t.createTextNode(pt.exec(u)[0]), c.firstChild), u = c.childNodes, c.parentNode.removeChild(c)
      Severity: Major
      Found in docs/scripts/jquery.min.js - About 40 mins to fix

        Consider simplifying this complex logical expression.
        Open

            if (this._parts.hostname) {
              relative = false;
              ip4 = URI.ip4_expression.test(this._parts.hostname);
              ip6 = URI.ip6_expression.test(this._parts.hostname);
              ip = ip4 || ip6;
        Severity: Major
        Found in docs/scripts/URI.js - About 40 mins to fix

          Consider simplifying this complex logical expression.
          Open

                      if (i || !n.readyState || /loaded|complete/.test(n.readyState)) n.onload = n.onreadystatechange = null, r && n.parentNode && r.removeChild(n), n = t, i || o(200, "success")
          Severity: Major
          Found in docs/scripts/jquery.min.js - About 40 mins to fix

            Consider simplifying this complex logical expression.
            Open

                    if (typeof u == "string") if (!gt.test(u)) u = t.createTextNode(u);
                    else {
                      y = y || lt(t), c = t.createElement("div"), y.appendChild(c), u = u.replace(dt, "<$1></$2>"), a = (vt.exec(u) || ["", ""])[1].toLowerCase(), f = Nt[a] || Nt._default, l = f[0], c.innerHTML = f[1] + u + f[2];
                      while (l--) c = c.lastChild;
                      if (!v.support.tbody) {
            Severity: Major
            Found in docs/scripts/jquery.min.js - About 40 mins to fix

              Consider simplifying this complex logical expression.
              Open

                        if (r && w !== y) {
                          for (d = 0; v = t[d]; d++) v(x, m, a, f);
                          if (u) {
                            if (y > 0) while (w--)!x[w] && !m[w] && (m[w] = E.call(l));
                            m = lt(m)
              Severity: Major
              Found in docs/scripts/jquery.min.js - About 40 mins to fix

                Consider simplifying this complex logical expression.
                Open

                        if (e >= 200 && e < 300 || e === 304) c.ifModified && (S = x.getResponseHeader("Last-Modified"), S && (v.lastModified[r] = S), S = x.getResponseHeader("Etag"), S && (v.etag[r] = S)), e === 304 ? (T = "notmodified", l = !0) : (l = On(c, w), T = l.state, y = l.data, b = l.error, l = !b);
                        else {
                          b = T;
                          if (!T || e) T = "error", e < 0 && (e = 0)
                        }
                Severity: Major
                Found in docs/scripts/jquery.min.js - About 40 mins to fix

                  Consider simplifying this complex logical expression.
                  Open

                        if ((!c || !l[c] || !i && !l[c].data) && a && r === t) return;
                  Severity: Major
                  Found in docs/scripts/jquery.min.js - About 40 mins to fix

                    Consider simplifying this complex logical expression.
                    Open

                            if (n) o[n] && o[n].stop && i(o[n]);
                            else for (n in o) o[n] && o[n].stop && Wn.test(n) && i(o[n]);
                    Severity: Major
                    Found in docs/scripts/jquery.min.js - About 40 mins to fix

                      Consider simplifying this complex logical expression.
                      Open

                              if (n[d]) {
                                r = ++a;
                                for (; r < s; r++) if (i.relative[e[r].type]) break;
                                return ct(a > 1 && ft(h), a > 1 && e.slice(0, a - 1).join("").replace(j, "$1"), n, a < r && ht(e.slice(a, r)), r < s && ht(e = e.slice(r)), r < s && e.join(""))
                              }
                      Severity: Major
                      Found in docs/scripts/jquery.min.js - About 40 mins to fix

                        Function generate has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        function generate( docType, title, docs, filename, resolveLinks ) {
                        Severity: Minor
                        Found in docs/template/publish.js - About 35 mins to fix

                          Function remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              remove: function(e, t, n, r, i) {
                          Severity: Minor
                          Found in docs/template/static/scripts/jquery.min.js - About 35 mins to fix

                            Function on has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                on: function(e, n, r, i, s) {
                            Severity: Minor
                            Found in docs/template/static/scripts/jquery.min.js - About 35 mins to fix

                              Function lt has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  function lt(e, t, n, r, i) {
                              Severity: Minor
                              Found in docs/template/static/scripts/jquery.min.js - About 35 mins to fix

                                Function o has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                          o = function(u, a, f, l, h) {
                                Severity: Minor
                                Found in docs/template/static/scripts/jquery.min.js - About 35 mins to fix

                                  Function Yn has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    function Yn(e, t, n, r, i) {
                                  Severity: Minor
                                  Found in docs/template/static/scripts/jquery.min.js - About 35 mins to fix

                                    Function add has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        add: function(e, n, r, i, s) {
                                    Severity: Minor
                                    Found in docs/template/static/scripts/jquery.min.js - About 35 mins to fix

                                      Function vt has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          function vt(e, t, n, r, s) {
                                      Severity: Minor
                                      Found in docs/template/static/scripts/jquery.min.js - About 35 mins to fix

                                        Function remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            remove: function(e, t, n, r, i) {
                                        Severity: Minor
                                        Found in docs/scripts/jquery.min.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language