suitmedia/suitcoda

View on GitHub

Showing 552 of 784 total issues

Avoid deeply nested control flow statements.
Open

                                    for (L = 0, y = H.length; L < y; L += 1) {
                                        T = H[L];
                                        if (typeof T === "string") {
                                            u = T
                                        } else {
Severity: Major
Found in performance/yslow.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                        if (u.previousSibling) {
                                            YSLOW.view.removeClassName(u.previousSibling, "off")
                                        }
    Severity: Major
    Found in performance/yslow.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                          if (s.checked) {
                                              x.rules[s.value] = {}
                                          }
      Severity: Major
      Found in performance/yslow.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                            if (!this.doc_comp && s) {
                                                this.doc_comp = q
                                            }
        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 (r.isObject(A)) {
                                                        q(A)
                                                    } else {
                                                        t += v(A, z === "u" || z === "url")
                                                    }
            Severity: Major
            Found in performance/yslow.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                                  if (s) {
                                                      s.id = "toolbar-rulesetList";
                                                      s.name = "rulesets";
                                                      s.onchange = v;
                                                      s.innerHTML = r
              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

                                                          if (q.previousSibling) {
                                                              q.previousSibling.className += " off"
                                                          }
                  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

                                                          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 (r(t, "expand")) {
                                                                v.expand += 1;
                                                                B = false
                                                            } else {
                                                                if (r(t, "collapse")) {
                        Severity: Major
                        Found in performance/yslow.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                          if (unaryArgs.hasOwnProperty(argsAlias[arg])) {
                                              unaryArgs[argsAlias[arg]] = true
                                          }
                          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

                                                                      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 (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 (u[E].id === "rulesetEditFormNumRules") {
                                                                          q = u[E]
                                                                      }
                                  Severity: Major
                                  Found in performance/yslow.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                        if (s) {
                                                                            x += 1
                                                                        } else {
                                                                            r += 1
                                                                        }
                                    Severity: Major
                                    Found in performance/yslow.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                              for (x = 0, w = A.length; x < w; x += 1) {
                                                                                  B = A[x];
                                                                                  y = typeof B;
                                                                                  t += "<item>";
                                                                                  if (y === "string" || y === "number") {
                                      Severity: Major
                                      Found in performance/yslow.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                            if (J || r(D.className, "type-" + u)) {
                                                                                if (J) {
                                                                                    y = D.className.split(" ");
                                                                                    for (C = 0; C < y.length; C += 1) {
                                                                                        if (y[C].substring(0, 5) === "type-") {
                                        Severity: Major
                                        Found in performance/yslow.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language