Showing 2,064 of 4,422 total issues
Function JSLexical
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function JSLexical(indented, column, type, align, prev, info) {
Avoid deeply nested control flow statements. Open
Open
for (m = 0; m < ps; ++m)
newpoints.push(points[i + m]);
Avoid deeply nested control flow statements. Open
Open
if (l != newpoints.length && withbottom)
newpoints[l + 2] = bottom;
Avoid deeply nested control flow statements. Open
Open
for (p in table[state]) if (this.terminals_[p] && p > 2) {
expected.push("'"+this.terminals_[p]+"'");
}
Function encodeSegments
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
QrCode.encodeSegments = function (segs, ecl, minVersion, maxVersion, mask, boostEcl) {
Avoid deeply nested control flow statements. Open
Open
for (m = 0; m < ps; ++m)
newpoints.push(null);
Avoid deeply nested control flow statements. Open
Open
if (px == qx) {
for (m = 0; m < ps; ++m)
newpoints.push(points[i + m]);
//newpoints[l + 1] += qy;
Avoid deeply nested control flow statements. Open
Open
if (cut$1) {
display.view = display.view.slice(0, cut$1.index);
display.viewTo = cut$1.lineN;
} else {
resetView(cm);
Avoid deeply nested control flow statements. Open
Open
{ if (endStyles[j$1 + 1] == nextChange) { spanEndStyle += " " + endStyles[j$1]; } } }
Avoid deeply nested control flow statements. Open
Open
} else if (/[<>*+\-|&?]/.test(ch)) {
stream.eat(ch)
if (ch == ">") stream.eat(ch)
}
Avoid deeply nested control flow statements. Open
Open
if (!CodeMirror.isWordChar(next) && prev != ch && !CodeMirror.isWordChar(prev)) curType = "both";
else return CodeMirror.Pass;
Avoid deeply nested control flow statements. Open
Open
if (this._options.validation.stopOnFirstInvalidFile){
return;
}
Avoid deeply nested control flow statements. Open
Open
if (next == ch && stream.string.charAt(pos - 2) != "\\") { pos--; break }
Avoid deeply nested control flow statements. Open
Open
if (sp.to != null && sp.to != pos && nextChange > sp.to) {
nextChange = sp.to;
spanEndStyle = "";
}
Avoid deeply nested control flow statements. Open
Open
if (m.attributes) {
for (var attr in m.attributes)
{ (attributes || (attributes = {}))[attr] = m.attributes[attr]; }
}
Avoid deeply nested control flow statements. Open
Open
if (m.explicitlyCleared) {
if (!line.markedSpans) { break }
else {--i; continue}
}
Avoid deeply nested control flow statements. Open
Open
if (sameLine) { (first || (first = [])).push(span$1); }
Avoid deeply nested control flow statements. Open
Open
if (m.startStyle && sp.from == pos) { spanStartStyle += " " + m.startStyle; }
Avoid deeply nested control flow statements. Open
Open
if (pos < j$2) { order.splice(at, 0, new BidiSpan(1, pos, j$2)); at += isRTL; }
Avoid deeply nested control flow statements. Open
Open
if (m.className) { spanStyle += " " + m.className; }