Showing 218 of 386 total issues
Avoid deeply nested control flow statements. Open
Open
for (b = 0; b < numBuffers; b++) {
items[k + b] = colBuffers[b][l];
}
Avoid deeply nested control flow statements. Open
Open
for (j = 0; j < v; j++) {
for (k = 0; k < h; k++) {
decodeMcu(component, decodeFn, mcu, j, k);
}
}
Avoid deeply nested control flow statements. Open
Open
for (; l < layersCount;) {
var packet = createPacket(resolution, k, l);
l++;
return packet;
}
Avoid deeply nested control flow statements. Open
Open
if (k === null) {
continue;
}
Avoid deeply nested control flow statements. Open
Open
for (pos = c, j = 0, jj = items.length; j < jj; j++) {
val = items[j];
out[pos] = (val + offset);
pos += componentsCount;
}
Avoid deeply nested control flow statements. Open
Open
if ((value >> 4) === 0) {
break;
}
Avoid deeply nested control flow statements. Open
Open
for (var l=0; l < layerNumber; l++) {
if (readBits(1) !== 0) {
throw new Error('JPX Error: Invalid tag tree');
}
}
Avoid deeply nested control flow statements. Open
Open
if (sign[position] !== 0) {
n = -n;
}
Avoid deeply nested control flow statements. Open
Open
while (true) {
if (readBits(1)) {
valueReady = !inclusionTree.nextLevel();
if (valueReady) {
codeblock.included = true;
Avoid deeply nested control flow statements. Open
Open
if (k === null) {
continue;
}
Avoid deeply nested control flow statements. Open
Open
for (; l < layersCount;) {
var packet = createPacket(resolution, k, l);
l++;
return packet;
}
Avoid deeply nested control flow statements. Open
Open
for (pos = c, j = 0, jj = items.length; j < jj; j++) {
val = items[j];
out[pos] = val <= min ? 0 :
val >= max ? 255 : (val + offset) >> shift;
pos += componentsCount;
Avoid deeply nested control flow statements. Open
Open
if(isSigned){
shift = 0;
offset = 0;
}else{
shift = components[c].precision - 8;
Avoid deeply nested control flow statements. Open
Open
for (j = 0; j < 64; j++) {
z = dctZigZag[j];
tableData[z] = data[offset++];
}
Function generateImageDataMonochrome
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array,
iterator,
alphaFunc,
windowLut,
colourMap) {
Function getPrecinctIndexIfExist
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
pxIndex, pyIndex, sizeInImageScale, precinctIterationSizes, resolution) {
Function simpleRange3d
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
dataAccessor, start, end, increment, isPlanar) {
Function BitModel
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function BitModel(width, height, subband, zeroBitPlanes, mb) {
Function generateImageDataPaletteColor
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array,
iterator,
alphaFunc,
colourMap,
is16BitsStored) {
Function rangeRegions
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
dataAccessor, start, end, increment, regions) {