Showing 552 of 784 total issues
Avoid deeply nested control flow statements. Open
Open
if (v.expand === 0) {
x.innerHTML = "Collapse All"
}
Avoid deeply nested control flow statements. Open
Open
if (s.checked) {
x.rules[s.value] = {}
}
Avoid deeply nested control flow statements. Open
Open
if (C === A) {
t += (v ? " sortDesc" : " sortAsc")
}
Avoid deeply nested control flow statements. Open
Open
for (F = 0; F < x.components.length; F += 1) {
J = x.components[F];
if (typeof J === "string") {
C += "<li>" + J + "</li>"
} else {
Avoid deeply nested control flow statements. Open
Open
if (!this.doc_comp && s) {
this.doc_comp = q
}
Avoid deeply nested control flow statements. Open
Open
if (r >= 60) {
q = "D"
} else {
if (r >= 50) {
q = "E"
Avoid deeply nested control flow statements. Open
Open
for (N in K) {
if (K.hasOwnProperty(N)) {
B[q.formatHeaderName(N)] = K[N]
}
}
Avoid deeply nested control flow statements. Open
Open
for (s = 0; s < r; s += 1) {
y.push(' - "' + A(x[s]) + '"')
}
Avoid deeply nested control flow statements. Open
Open
if (J[E].className === "dialog-text") {
z = J[E]
} else {
if (J[E].className === "dialog-more-text") {
y = J[E]
Avoid deeply nested control flow statements. Open
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 + " (" + 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;
Avoid deeply nested control flow statements. Open
Open
if (u !== -1) {
z = F.className.substring(u + 8);
u = z.indexOf(" ");
if (u !== -1) {
z = z.substring(0, u)
Avoid deeply nested control flow statements. Open
Open
if (s) {
x += 1
} else {
r += 1
}
Avoid deeply nested control flow statements. Open
Open
for (L = 0, y = H.length; L < y; L += 1) {
T = H[L];
if (typeof T === "string") {
u = T
} else {
Avoid deeply nested control flow statements. Open
Open
if (A === "hackFilter") {
z += D[A];
x += D[A]
} else {
q += D[A];
Avoid deeply nested control flow statements. Open
Open
if (A === "hackFilter") {
z += D[A];
x += D[A]
} else {
q += D[A];
Avoid deeply nested control flow statements. Open
Open
if (t === "size") {
z += YSLOW.util.kbSize(v.size)
} else {
if (t === "url") {
if (v.status >= 400 && v.status < 500) {
Avoid deeply nested control flow statements. Open
Open
if (unaryArgs.hasOwnProperty(argsAlias[arg])) {
unaryArgs[argsAlias[arg]] = true
}
Avoid deeply nested control flow statements. Open
Open
if (D.weights !== undefined && D.weights[B] !== undefined) {
t += '<input type="hidden" name="weight-' + B + '" value="' + D.weights[B] + '">'
}
Avoid deeply nested control flow statements. Open
Open
if (typeof y.score !== "number") {
G = parseInt(y.score, 10);
if (!isNaN(G)) {
y.score = G
}
Avoid deeply nested control flow statements. Open
Open
if (/javascript/.test(q)) {
r = "js"
} else {
if (/flash/.test(q)) {
r = "flash"