opsforgeio/cabot

View on GitHub

Showing 840 of 1,637 total issues

Avoid deeply nested control flow statements.
Open

                            if (val > 0) {
                                stackTotals[i] += val;
                            }
Severity: Major
Found in cabot/static/theme/js/jquery.sparkline.min.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                  if (results_group != null) {
                    results_group.group_match = true;
                  }
    Severity: Major
    Found in cabot/static/theme/js/chosen.jquery.js - About 45 mins to fix

      Function _fnFilter has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          function _fnFilter( oSettings, sInput, iForce, bRegex, bSmart, bCaseInsensitive )
      Severity: Minor
      Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

        Function fnFilter has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            this.fnFilter = function( sInput, iColumn, bRegex, bSmart, bShowGlobal, bCaseInsensitive )
        Severity: Minor
        Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                        while( oSettings.aoColumns.length <= aTargets[j] )
                        {
                          _fnAddColumn( oSettings );
                        }
          Severity: Major
          Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                      if ( oSettings._iDisplayStart + oSettings._iDisplayLength < oSettings.fnRecordsDisplay() )
                      {
                        oSettings._iDisplayStart += oSettings._iDisplayLength;
                      }
            Severity: Major
            Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                            if ( oSettings.aoColumns[i].sContentPadding !== "" )
                            {
                              nTd.innerHTML += oSettings.aoColumns[i].sContentPadding;
                            }
              Severity: Major
              Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                              if ( sNodeName == "TD" || sNodeName == "TH" )
                              {
                                _fnSetCellData( oSettings, iThisIndex, jInner, $.trim(nTd.innerHTML) );
                                jInner++;
                              }
                Severity: Major
                Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                for ( j=0, jLen=aoData.length ; j<jLen ; j++ )
                                {
                                  _fnSetCellData( oSettings, j, iColumn, aData[j] );
                                }
                  Severity: Major
                  Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                              if ( tr )
                              {
                                a.push( tr );
                              }
                    Severity: Major
                    Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                      Function _fnFilterColumn has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          function _fnFilterColumn ( oSettings, sInput, iColumn, bRegex, bSmart, bCaseInsensitive )
                      Severity: Minor
                      Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                      if ( oCol.bUseRendered )
                                      {
                                        /* Use the rendered data for filtering / sorting */
                                        _fnSetCellData( oSettings, iRow, iColumn, sRendered );
                                      }
                        Severity: Major
                        Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                      else if ( typeof aTargets[j] === 'number' && aTargets[j] < 0 )
                                      {
                                        /* Negative integer, right to left column counting */
                                        fn( oSettings.aoColumns.length+aTargets[j], aoColDefs[i] );
                                      }
                          Severity: Major
                          Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                            if ( a[i] !== "" ) {
                                              data = data[ a[i] ];
                                            }
                            Severity: Major
                            Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                              for ( var j=0, jLen=data.length ; j<jLen ; j++ ) {
                                                out.push( fetchData( data[j], type, innerSrc ) );
                                              }
                              Severity: Major
                              Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                      else if ( oOpts.order == "original" && oOpts.filter == "applied" )
                                      {
                                        for ( i=0, iLen=aoData.length ; i<iLen ; i++ )
                                        {
                                          tr = aoData[ i ].nTr;
                                Severity: Major
                                Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                          switch (col) {
                                                              case 0: calender += " ui-datepicker-group-first";
                                                                  cornerClass = " ui-corner-" + (isRTL ? "right" : "left"); break;
                                                              case numMonths[1]-1: calender += " ui-datepicker-group-last";
                                                                  cornerClass = " ui-corner-" + (isRTL ? "left" : "right"); break;
                                  Severity: Major
                                  Found in cabot/static/theme/js/jquery-ui.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                            for ( i=0, iLen=aoData.length ; i<iLen ; i++ )
                                            {
                                              tr = aoData[ i ].nTr ;
                                              if ( tr )
                                              {
                                    Severity: Major
                                    Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                  if (lookAhead("'")) {
                                                                      output += "'";
                                                                  } else {
                                                                      literal = true;
                                                                  }
                                      Severity: Major
                                      Found in cabot/static/theme/js/jquery-ui.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                      for ( k=0 ; k<iRowspan ; k++ )
                                                      {
                                                        aLayout[i+k][iColShifted+l] = {
                                                          "cell": nCell,
                                                          "unique": bUnique
                                        Severity: Major
                                        Found in cabot/static/theme/js/jquery.dataTables.min.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language