Showing 784 of 784 total issues
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"
Avoid deeply nested control flow statements. Open
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;
Avoid deeply nested control flow statements. Open
Open
if (u[E].id === "rulesetEditFormNumRules") {
q = u[E]
}
Avoid deeply nested control flow statements. Open
Open
if (typeof E === "undefined") {
E = -1
}
Avoid deeply nested control flow statements. Open
Open
if (s.className.indexOf("yui-hidden") === -1) {
s.className += " yui-hidden"
}