Showing 836 of 1,675 total issues
Avoid deeply nested control flow statements. Open
Open
for (j = 1; j < cell.colSpan; j++) {
c.sortList.push([i + j, o]);
}
Avoid deeply nested control flow statements. Open
Open
if (wo.filter_formatter && $.isFunction(wo.filter_formatter[i])) {
t = wo.filter_formatter[i]( c.$filters.eq(i), i );
// no element returned, so lets go find it
if (t && t.length === 0) { t = c.$filters.eq(i).children('input'); }
// element not in DOM, so lets attach it
Avoid deeply nested control flow statements. Open
Open
if (this.o.minViewMode === 2) {
this._setDate(UTCDate(year, month, day,0,0,0,0));
}
Function sortNumeric
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ts.sortNumeric = function(table, a, b, col, mx, d) {
Avoid deeply nested control flow statements. Open
Open
if (month === 0) {
month = 11;
year -= 1;
} else {
month -= 1;
Function arc
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
contextPrototype.arc = function(aX, aY, aRadius,
aStartAngle, aEndAngle, aClockwise) {
Avoid deeply nested control flow statements. Open
Open
if ( wo.filter_regex.child.test(r) || (searchFiltered && wo.filter_regex.filtered.test(r)) ) { continue; }
Avoid deeply nested control flow statements. Open
Open
if (all === ''){
ft.addClass('hideme');
}
Avoid deeply nested control flow statements. Open
Open
if (!f[j].sortDisabled) {
f.eq(j).addClass(css[list[i][1]]);
// add sorted class to footer, if it exists
if ($t.length) {
$t.filter('[data-column="' + list[i][0] + '"]').eq(j).addClass(css[list[i][1]]);
Avoid deeply nested control flow statements. Open
Open
if(base.authority !== null && base.path === '') {
t.path = '/'+r.path;
} else {
t.path = base.path.replace(/[^\/]+$/,'')+r.path;
}
Avoid deeply nested control flow statements. Open
Open
if (t) {
t.attr('placeholder', $th.data('placeholder') || $th.attr('data-placeholder') || '');
}
Function createRadialGradient
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
contextPrototype.createRadialGradient = function(aX0, aY0, aR0,
aX1, aY1, aR1) {
Function transform
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
contextPrototype.transform = function(m11, m12, m21, m22, dx, dy) {
Function setTransform
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
contextPrototype.setTransform = function(m11, m12, m21, m22, dx, dy) {
Avoid deeply nested control flow statements. Open
Open
if (t){
arry.push( $.trim(c.supportsTextContent ? t.textContent : $(t).text()) );
}
Avoid deeply nested control flow statements. Open
Open
if (this.o.minViewMode === 1) {
this._setDate(UTCDate(year, month, day,0,0,0,0));
}
Avoid deeply nested control flow statements. Open
Open
for (i = 0; i < cols; i++){
// ignore if filter is empty or disabled
if (v[i]){
// check if column data should be from the cell or from parsed data
if (wo.filter_useParsedData || parsed[i]){
Avoid deeply nested control flow statements. Open
Open
if (bw.ie4 || bw.ie5) y = y + eval(scrolled);
Avoid deeply nested control flow statements. Open
Open
if(config.inGraphDataXPosition==1) { xPos=yAxisPosX + yStart[j] + 1 +config.inGraphDataPaddingX; }
else if(config.inGraphDataXPosition==2) { xPos=yAxisPosX + yStart[j] + (HorizontalCalculateOffset(data.datasets[i].data[j], calculatedScale, valueHop) + (config.barStrokeWidth / 2))/2+config.inGraphDataPaddingX ;}
else if(config.inGraphDataXPosition==3) { xPos=yAxisPosX + yStart[j] + HorizontalCalculateOffset(data.datasets[i].data[j], calculatedScale, valueHop) + (config.barStrokeWidth / 2) +config.inGraphDataPaddingX ;}
Avoid deeply nested control flow statements. Open
Open
if (drawLegendOnData) ctx.strokeStyle = data.datasets[orderi].strokeColor;
else ctx.strokeStyle = data[orderi].color;