suitmedia/suitcoda

View on GitHub

Showing 784 of 784 total issues

Avoid deeply nested control flow statements.
Open

                                    if (y !== -1) {
                                        t = F.id.substring(y + 5);
                                        break
                                    }
Severity: Major
Found in performance/yslow.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                            if (v.ydefault.weights[F]) {
                                                z = v.ydefault.weights[F]
                                            } else {
                                                z = 5
                                            }
    Severity: Major
    Found in performance/yslow.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                              if (typeof G === "string") {
                                                  w = G
                                              }
      Severity: Major
      Found in performance/yslow.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                                for (y = 0, x = B.length; y < x; y += 1) {
                                                    C = B[y];
                                                    z = typeof C;
                                                    if (z === "string" || z === "number") {
                                                        v += q(E + 1) + r.decodeURIComponent(C) + "\n"
        Severity: Major
        Found in performance/yslow.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                              if (t > -1) {
                                                  q = r.slice(0, t) + q
                                              } else {
                                                  q = r + q
                                              }
          Severity: Major
          Found in performance/yslow.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                                if (s > u + 3) {
                                                    q = r.slice(0, s + 1) + q
                                                } else {
                                                    q = r + "/" + q
                                                }
            Severity: Major
            Found in performance/yslow.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                                  if (v.is_beacon) {
                                                      z += " &#8224;"
                                                  }
              Severity: Major
              Found in performance/yslow.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                                    if (D !== undefined && D.custom === true) {
                                                        G.style.visibility = "visible"
                                                    } else {
                                                        G.style.visibility = "hidden"
                                                    }
                Severity: Major
                Found in performance/yslow.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                                      if (r(t, "type-" + u)) {
                                                          if (B) {
                                                              w.style.display = "none";
                                                              E = w.nextSibling;
                                                              if (E.id.indexOf("compHeaders") !== -1) {
                  Severity: Major
                  Found in performance/yslow.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                                        for (t = 0; t < r; t += 1) {
                                                            E.push("        " + D(C(x[t])))
                                                        }
                    Severity: Major
                    Found in performance/yslow.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                                          if (-1 !== s && (s - t) < 15) {
                                                              y = z.substring(t, s);
                                                              if (x.test(y)) {
                                                                  return y
                                                              }
                      Severity: Major
                      Found in performance/yslow.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                            if (q === "message") {
                                                                y = this.getElementByTagNameAndId(z, "div", "progtext2");
                                                                if (y) {
                                                                    y.innerHTML = v
                                                                }
                        Severity: Major
                        Found in performance/yslow.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                              if ("ysStatsButton" === r) {
                                                                  q += this.yscontext.genStats(s);
                                                                  this.addButtonView("ysStatsButton", q);
                                                                  YSLOW.renderer.plotComponents(this.getButtonView("ysStatsButton"), this.yscontext)
                                                              } else {
                          Severity: Major
                          Found in performance/yslow.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                                if (z.compressed === "gzip" || z.compressed === "deflate") {
                                                                    if (z.size_compressed) {
                                                                        D = parseInt(z.size_compressed, 10)
                                                                    }
                                                                } else {
                            Severity: Major
                            Found in performance/yslow.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                                  for (N in K) {
                                                                      if (K.hasOwnProperty(N)) {
                                                                          B[q.formatHeaderName(N)] = K[N]
                                                                      }
                                                                  }
                              Severity: Major
                              Found in performance/yslow.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                                        if (r.isObject(B)) {
                                                                            v += "\n";
                                                                            s(B, E + 1)
                                                                        } else {
                                                                            if (A === "score" || A === "o") {
                                Severity: Major
                                Found in performance/yslow.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                                      if (!z.message) {
                                                                          y.push("  ---")
                                                                      }
                                  Severity: Major
                                  Found in performance/yslow.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                        if (F.test(s.server)) {
                                                                            w = 1;
                                                                            break
                                                                        }
                                    Severity: Major
                                    Found in performance/yslow.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                          if (A) {
                                                                              A.checked = true
                                                                          }
                                      Severity: Major
                                      Found in performance/yslow.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                                if (q.previousSibling) {
                                                                                    q.previousSibling.className += " off"
                                                                                }
                                        Severity: Major
                                        Found in performance/yslow.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language