Showing 419 of 572 total issues
Avoid deeply nested control flow statements. Open
Open
if (i >= fullChunks) {
thisChunkHeight = partialChunkHeight;
elemsInThisChunk = width * thisChunkHeight;
}
Avoid deeply nested control flow statements. Open
Open
if (node) {
$(node).removeClass(removedRowHash[columnId]);
}
Avoid deeply nested control flow statements. Open
Open
if (c.maxWidth) {
stretchLeewayOnRight += c.maxWidth - c.previousWidth;
} else {
stretchLeewayOnRight = null;
}
Avoid deeply nested control flow statements. Open
Open
if (options.editable) {
if (currentEditor) {
// adding new row
if (activeRow === getDataLength()) {
navigateDown();
Function clipBbox
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
clipBbox: function clipBbox(graphics, bbox, x0, y0, x1, y1) {
Function genericComposeSMask
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function genericComposeSMask(maskCtx, layerCtx, width, height,
subtype, backdrop) {
Avoid deeply nested control flow statements. Open
Open
if (x && c.previousWidth + x < actualMinWidth) {
x += c.previousWidth - actualMinWidth;
c.width = actualMinWidth;
} else {
c.width = c.previousWidth + x;
Function createMeshCanvas
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createMeshCanvas(bounds, combinesScale, coords, colors, figures,
backgroundColor) {
Avoid deeply nested control flow statements. Open
Open
if (mask === 0) {
srcByte = src[srcPos++];
mask = 128;
}
Avoid deeply nested control flow statements. Open
Open
if (options.editCommandHandler) {
makeActiveCellNormal();
options.editCommandHandler(item, column, editCommand);
} else {
editCommand.execute();
Avoid deeply nested control flow statements. Open
Open
if (node) {
$(node).addClass(addedRowHash[columnId]);
}
Function setTransform
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx.setTransform = function ctxSetTransform(a, b, c, d, e, f) {
Avoid deeply nested control flow statements. Open
Open
for (j = elemsInThisChunk; j--;) {
dest[destPos++] = src[srcPos++];
dest[destPos++] = src[srcPos++];
dest[destPos++] = src[srcPos++];
dest[destPos++] = 255;
Avoid deeply nested control flow statements. Open
Open
if (x && c.maxWidth && (c.maxWidth - c.previousWidth < x)) {
x -= c.maxWidth - c.previousWidth;
c.width = c.maxWidth;
} else {
c.width = c.previousWidth + x;
Function PageViewport
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function PageViewport(viewBox, scale, rotation, offsetX, offsetY, dontFlip) {
Function setTextMatrix
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
setTextMatrix: function CanvasGraphics_setTextMatrix(a, b, c, d, e, f) {
Function InternalRenderTask
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function InternalRenderTask(callback, params, objs, commonObjs, operatorList,
pageNumber) {
Function TilingPattern
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function TilingPattern(IR, color, ctx, objs, commonObjs, baseTransform) {
Function transform
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
transform: function CanvasGraphics_transform(a, b, c, d, e, f) {
Function setCharWidthAndBounds
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
setCharWidthAndBounds: function CanvasGraphics_setCharWidthAndBounds(xWidth,
yWidth,
llx,
lly,
urx,