suitmedia/suitcoda

View on GitHub

Showing 784 of 784 total issues

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 (this.component_info[t].state === "NONE") {
                                            this.component_info[t].state = "REQUESTED";
                                            this.outstanding_net_request += 1
                                        }
    Severity: Major
    Found in performance/yslow.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                          if (isNaN(parseInt(v[v.length - 1], 10))) {
                                              s.push(t)
                                          }
      Severity: Major
      Found in performance/yslow.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                            if (isNaN(parseInt(v[v.length - 1], 10))) {
                                                q.push(E[u])
                                            }
        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 (u.url !== undefined) {
                                                    C += '<p class="more-info"><a href="javascript:document.ysview.openLink(\'' + u.url + "')\"><b>&#187;</b>Read More</a></p>"
                                                }
            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

                                                        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 (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 (w === undefined) {
                                                            w = s;
                                                            x = r;
                                                            YSLOW.view.removeClassName(s, "yui-hidden");
                                                            r.className += " first";
                    Severity: Major
                    Found in performance/yslow.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                                          if (C[F].id === "rulesetEditRulesetName") {
                                                              w = C[F]
                                                          }
                      Severity: Major
                      Found in performance/yslow.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                            for (s = 0; s < y.components.length; s += 1) {
                                                                if (typeof y.components[s] === "string") {
                                                                    v += "<li>" + y.components[s] + "</li>"
                                                                } else {
                                                                    if (y.components[s].url !== undefined) {
                        Severity: Major
                        Found in performance/yslow.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                              if (v.collapse === 0) {
                                                                  x.innerHTML = "Expand All"
                                                              }
                          Severity: Major
                          Found in performance/yslow.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                                if (I[F].id === "expand-all-text") {
                                                                    x = I[F]
                                                                }
                            Severity: Major
                            Found in performance/yslow.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                                  if (!w) {
                                                                      r.push(O)
                                                                  }
                              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

                                  Avoid deeply nested control flow statements.
                                  Open

                                                                          if (typeof y.score === "number") {
                                                                              B += y.weight;
                                                                              if (!YSLOW.util.Preference.getPref("allowNegativeScore", false)) {
                                                                                  if (y.score < 0) {
                                                                                      y.score = 0
                                  Severity: Major
                                  Found in performance/yslow.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                        if (D.score >= 0) {
                                                                            F.score = parseInt(D.score, 10)
                                                                        } else {
                                                                            if (D.score === -1) {
                                                                                F.score = "n/a"
                                    Severity: Major
                                    Found in performance/yslow.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

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

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                            if (v.after_onload) {
                                                                                z += " *"
                                                                            }
                                        Severity: Major
                                        Found in performance/yslow.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language