suitmedia/suitcoda

View on GitHub

Showing 784 of 784 total issues

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 (r >= 60) {
                                            q = "D"
                                        } else {
                                            if (r >= 50) {
                                                q = "E"
    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

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

          Avoid deeply nested control flow statements.
          Open

                                              if (J[E].className === "dialog-text") {
                                                  z = J[E]
                                              } else {
                                                  if (J[E].className === "dialog-more-text") {
                                                      y = J[E]
          Severity: Major
          Found in performance/yslow.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                                if (B !== z.type) {
                                                    t += '<tr class="type-summary ' + (x ? "expand" : "collapse") + '"><td><a href="javascript:document.ysview.expandCollapseComponentType(document, \'' + B + '\')"><b class="expcol"><b class="exp exph"></b><b class="exp expv"></b><b class="col"></b></b><span class="rowTitle type-' + B + '">' + B + "&nbsp;(" + q + ')</span></a></td><td class="size">' + YSLOW.util.kbSize(s) + "</td><td><!-- GZIP --></td><td></td><td></td><td><!-- HEADERS --></td><td><!-- URL --></td><td><!-- EXPIRES --></td><td><!-- RESPTIME --></td><td><!-- ETAG --></td><td><!-- ACTION--></td></tr>";
                                                    t += w;
                                                    w = "";
                                                    q = 0;
            Severity: Major
            Found in performance/yslow.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                                  if (u !== -1) {
                                                      z = F.className.substring(u + 8);
                                                      u = z.indexOf(" ");
                                                      if (u !== -1) {
                                                          z = z.substring(0, u)
              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 (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 (A === "hackFilter") {
                                                            z += D[A];
                                                            x += D[A]
                                                        } else {
                                                            q += D[A];
                    Severity: Major
                    Found in performance/yslow.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                                          if (A === "hackFilter") {
                                                              z += D[A];
                                                              x += D[A]
                                                          } else {
                                                              q += D[A];
                      Severity: Major
                      Found in performance/yslow.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                            if (t === "size") {
                                                                z += YSLOW.util.kbSize(v.size)
                                                            } else {
                                                                if (t === "url") {
                                                                    if (v.status >= 400 && v.status < 500) {
                        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 (D.weights !== undefined && D.weights[B] !== undefined) {
                                                                    t += '<input type="hidden" name="weight-' + B + '" value="' + D.weights[B] + '">'
                                                                }
                            Severity: Major
                            Found in performance/yslow.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                                      if (typeof y.score !== "number") {
                                                                          G = parseInt(y.score, 10);
                                                                          if (!isNaN(G)) {
                                                                              y.score = G
                                                                          }
                              Severity: Major
                              Found in performance/yslow.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                                    if (/javascript/.test(q)) {
                                                                        r = "js"
                                                                    } else {
                                                                        if (/flash/.test(q)) {
                                                                            r = "flash"
                                Severity: Major
                                Found in performance/yslow.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                                      for (G = 0, N = t.length; G < N; G += 1) {
                                                                          F = new RegExp(t[G]);
                                                                          if (F.test(A)) {
                                                                              L.push(O);
                                                                              w = 1;
                                  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 (typeof E === "undefined") {
                                                                              E = -1
                                                                          }
                                      Severity: Major
                                      Found in performance/yslow.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                            if (s.className.indexOf("yui-hidden") === -1) {
                                                                                s.className += " yui-hidden"
                                                                            }
                                        Severity: Major
                                        Found in performance/yslow.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language