Showing 840 of 1,637 total issues
Avoid deeply nested control flow statements. Open
Open
if ( oSettings._iDisplayLength >= 0 )
{
var iPages = parseInt( (oSettings.fnRecordsDisplay()-1) / oSettings._iDisplayLength, 10 ) + 1;
oSettings._iDisplayStart = (iPages-1) * oSettings._iDisplayLength;
}
Avoid deeply nested control flow statements. Open
Open
if ( sValType !== '' )
{
sThisType = _fnDetectType( sValType );
if ( oCol.sType === null )
{
Avoid deeply nested control flow statements. Open
Open
for ( k=0 ; k<iRowspan ; k++ )
{
aApplied[i+k][j+iColspan] = 1;
}
Avoid deeply nested control flow statements. Open
Open
if ( nRow == oSettings.aoOpenRows[k].nParent )
{
anRows.push( oSettings.aoOpenRows[k].nTr );
break;
}
Avoid deeply nested control flow statements. Open
Open
if ( cOption == aoFeatures[k].cFeature )
{
nTmp = aoFeatures[k].fnInit( oSettings );
if ( nTmp )
{
Avoid deeply nested control flow statements. Open
Open
if ( oSettings.aoColumns[i].sWidthOrig === null )
{
iTotal += $(oNodes[iCorrector]).outerWidth();
}
else
Function image
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
R._engine.image = function (vml, src, x, y, w, h) {
Function add
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
matrixproto.add = function (a, b, c, d, e, f) {
Avoid deeply nested control flow statements. Open
Open
if (tlen == 2) {
bb = bb || el.getBBox(1);
m.rotate(t[1], bb.x + bb.width / 2, bb.y + bb.height / 2);
deg += t[1];
} else if (tlen == 4) {
Avoid deeply nested control flow statements. Open
Open
for (key in to) if (to[has](key)) {
init[key] = e.totalOrigin[key];
}
Function angle
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
R.angle = function (x1, y1, x2, y2, x3, y3) {
Function Matrix
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function Matrix(a, b, c, d, e, f) {
Function setCoords
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
setCoords = function (p, sx, sy, dx, dy, deg) {
Function rect
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
R._engine.rect = function (vml, x, y, w, h, r) {
Avoid deeply nested control flow statements. Open
Open
switch (availableAnimAttrs[attr]) {
case nu:
diff[attr] = (to[attr] - from[attr]) / ms;
break;
case "colour":
Avoid deeply nested control flow statements. Open
Open
if ("opacity" in attrs || "fill-opacity" in attrs) {
var gradient = R._g.doc.getElementById(node.getAttribute("fill").replace(/^url\(#|\)$/g, E));
if (gradient) {
var stops = gradient.getElementsByTagName("stop");
$(stops[stops.length - 1], {"stop-opacity": ("opacity" in attrs ? attrs.opacity : 1) * ("fill-opacity" in attrs ? attrs["fill-opacity"] : 1)});
Avoid deeply nested control flow statements. Open
Open
if (justCount) {
res++;
} else {
res.push({
x: is.x,
Avoid deeply nested control flow statements. Open
Open
for (var k in path.k) if (path[has](k)) {
fontcopy.glyphs[glyph].k[k] = path.k[k];
}
Avoid deeply nested control flow statements. Open
Open
for (key in e.n) if (e.n[has](key) && e.n[key].f) {
var funcs = e.n[key].f;
for (j = 0, jj = funcs.length; j < jj; j++) if (funcs[j] == f) {
funcs.splice(j, 1);
break;
Avoid deeply nested control flow statements. Open
Open
for (key in e.n) if (e.n[has](key) && e.n[key].f) {
delete e.n[key].f;
}