Showing 1,675 of 1,675 total issues
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;
Avoid deeply nested control flow statements. Open
Open
if(config.inGraphDataYPosition==1) { yPos=xAxisPosY - yStart[j] - config.inGraphDataPaddingY; }
else if(config.inGraphDataYPosition==2) { yPos=xAxisPosY -(calculateOffset(config, data.datasets[i].data[j], calculatedScale, scaleHop) + (config.barStrokeWidth / 2) )/2 - yStart[j] - config.inGraphDataPaddingY; }
else if(config.inGraphDataYPosition==3) { yPos=xAxisPosY -calculateOffset(config, data.datasets[i].data[j], calculatedScale, scaleHop) + (config.barStrokeWidth / 2) - yStart[j] - config.inGraphDataPaddingY; }
Avoid deeply nested control flow statements. Open
Open
if (typeof (data.labels[j]) == "string") lgtxt2 = data.labels[j].trim();
else lgtxt2 = "";
Avoid deeply nested control flow statements. Open
Open
if(config.inGraphDataYPosition==1) { yPos=barOffset + barWidth - config.inGraphDataPaddingY; }
else if(config.inGraphDataYPosition==2) { yPos=barOffset + barWidth/2- config.inGraphDataPaddingY; }
else if(config.inGraphDataYPosition==3) { yPos=barOffset- config.inGraphDataPaddingY; }
Avoid deeply nested control flow statements. Open
Open
unless ext_ancestry.nil?
ext_ancestry_list = ext.ancestry.split('/')
ext_ancestry_list.each do |ancestor|
ext_ancestor_uuid = ExternalMasterDatabase::ExternalWbsActivityElement.find_by_id(ancestor).uuid
ancestors << WbsActivityElement.find_by_uuid(ext_ancestor_uuid).id
Function calculateScale
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function calculateScale(config, maxSteps, minSteps, maxValue, minValue, labelTemplateString) {
Avoid deeply nested control flow statements. Open
Open
if (mxlb<maxL)maxL=mxlb;