mambax7/adslight

View on GitHub

Showing 573 of 5,122 total issues

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

    init: function( elem, options, prop, end, easing, unit ) {
Severity: Minor
Found in assets/js/lightbox/js/lightbox-plus-jquery.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                    } else if ( copy !== undefined ) {
                        target[ name ] = copy;
                    }
    Severity: Major
    Found in assets/js/lightbox/js/lightbox-plus-jquery.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                      } else if ( match[2] ) {
                          push.apply( results, context.getElementsByTagName( selector ) );
                          return results;
      
                      // Class selector
      Severity: Major
      Found in assets/js/lightbox/js/lightbox-plus-jquery.js - About 45 mins to fix

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

                sortNumericDesc : function( a, b, num, max, col, c ) {
        Severity: Minor
        Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                      if ( buildFilter && buildFilter.length === 0 ) {
                                          buildFilter = $filter.children( 'input' );
                                      }
          Severity: Major
          Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                        if ( fxn === true ) {
                                            // default selector uses exact match unless 'filter-match' class is found
                                            result = data.isMatch ?
                                                // data.iExact may be a number
                                                ( '' + data.iExact ).search( data.iFilter ) >= 0 :
            Severity: Major
            Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                          if ( tmp[1] === 2 ) {
                                              c.sortList.splice( indx, 1 );
                                              c.sortVars[ col ].count = -1;
                                          }
              Severity: Major
              Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                            for ( indx = 1; indx < childLen; indx++ ) {
                                                child =  cache.normalized[ rowIndex ][ c.columns ].$row.eq( indx ).children().eq( column );
                                                arry[ arry.length ] = '' + ts.getElementText( c, child, column );
                                            }
                Severity: Major
                Found in assets/js/tablesorter/js/jquery.tablesorter.widgets.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                              if ( !parser ) {
                                                  parser = ts.detectParserForColumn( c, rows, -1, colIndex );
                                              }
                  Severity: Major
                  Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                                if ( fxn ) {
                                                    // updating so the extra options are appended
                                                    tsf.buildSelect( c.table, column, '', true, $header.hasClass( wo.filter_onlyAvail ) );
                                                }
                    Severity: Major
                    Found in assets/js/tablesorter/js/jquery.tablesorter.widgets.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                              if ( $.isArray( setFilters ) ) {
                                                  // skip first ( latest input ) to maintain cursor position while typing
                                                  if ( skipFirst && $column.length > 1 ) {
                                                      $column = $column.slice( 1 );
                                                  }
                      Severity: Major
                      Found in assets/js/tablesorter/js/jquery.tablesorter.widgets.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                    if ( !extractor ) {
                                                        // For now, maybe detect someday
                                                        extractor = false;
                                                    }
                        Severity: Major
                        Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                      if ( !hasParser && debug ) {
                                                          console.warn( 'No parser found for row: ' + rowIndex + ', column: ' + colIndex +
                                                              '; cell containing: "' + $(cell).text() + '"; does it have a header?' );
                                                      }
                          Severity: Major
                          Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                        for ( indx = 0; indx < query.length; indx++ ) {
                                                            res = query[ indx ].split( ':' );
                                                            if ( res.length > 1 ) {
                                                                // make the column a one-based index ( non-developers start counting from one :P )
                                                                if ( isNaN( res[0] ) ) {
                            Severity: Major
                            Found in assets/js/tablesorter/js/jquery.tablesorter.widgets.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                          if ( span > 0 ) {
                                                              colIndex += span;
                                                              max += span;
                                                              while ( span + 1 > 0 ) {
                                                                  // set colspan columns to use the same parsers & extractors
                              Severity: Major
                              Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                            if ( fxn === true ) {
                                                                // default selector uses exact match unless 'filter-match' class is found
                                                                result = data.isMatch ?
                                                                    // data.iExact may be a number
                                                                    ( '' + data.iExact ).search( data.iFilter ) >= 0 :
                                Severity: Major
                                Found in assets/js/tablesorter/js/jquery.tablesorter.widgets.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                              if ( !searchFiltered ) { indx = columnIndex; }
                                  Severity: Major
                                  Found in assets/js/tablesorter/js/jquery.tablesorter.widgets.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                if ( fxn ) {
                                                                    // updating so the extra options are appended
                                                                    tsf.buildSelect( c.table, column, '', true, $header.hasClass( wo.filter_onlyAvail ) );
                                                                }
                                    Severity: Major
                                    Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                  if ( buildFilter && ( buildFilter.parent().length === 0 ||
                                                                      ( buildFilter.parent().length && buildFilter.parent()[0] !== $filter[0] ) ) ) {
                                                                      $filter.append( buildFilter );
                                                                  }
                                      Severity: Major
                                      Found in assets/js/tablesorter/js/jquery.tablesorter.combined.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                    if ( injected ) {
                                                                        data.anyMatchFilter = query.join( ' && ' );
                                                                    }
                                        Severity: Major
                                        Found in assets/js/tablesorter/js/jquery.tablesorter.widgets.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language