Showing 150 of 2,746 total issues
Avoid deeply nested control flow statements. Open
Open
if ( tmp[1] === 2 ) { c.sortList.splice( indx, 1 ); c.sortVars[ col ].count = -1; }
Avoid deeply nested control flow statements. Open
Open
if ( option.hasOwnProperty( val ) && val !== 'text' ) { options += ' ' + val + '="' + option[ val ] + '"'; }
Function sortNumericAsc
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
sortNumericAsc : function( a, b, num, max, col, c ) {
Avoid deeply nested control flow statements. Open
Open
if ( span > 0 ) { colIndex += span; max += span; while ( span + 1 > 0 ) { // set colspan columns to use the same parsers & extractors
Avoid deeply nested control flow statements. Open
Open
for ( string in fxn ) { if ( typeof string === 'string' ) { options += options === '' ? '<option value="">' + ( $header.data( 'placeholder' ) ||
Function sortNumericDesc
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
sortNumericDesc : function( a, b, num, max, col, c ) {
Consider simplifying this complex logical expression. Open
Open
if ( tsfRegex.andTest.test( data.filter ) ) { var indx, filterMatched, result, query, regex, // duplicate data but split filter data2 = $.extend( {}, data ), filter = data.filter.split( tsfRegex.andSplit ),
Consider simplifying this complex logical expression. Open
Open
if ( tsfRegex.toTest.test( data.iFilter ) ) { var result, tmp, range1, range2, table = c.table, index = data.index, parsed = data.parsed[index],
Consider simplifying this complex logical expression. Open
Open
if ( wo.filter_initialized && ( event.which === tskeyCodes.enter || event.type === 'search' || // only "input" event fires in MS Edge when clicking the "x" to clear the search ( event.type === 'change' || event.type === 'input' ) && this.value !== c.lastSearch[column] ) ) { event.preventDefault(); // init search with no delay
Consider simplifying this complex logical expression. Open
Open
if ( header && header.length ) { // get column indexed table cell configHeaders = ts.getColumnData( table, c.headers, colIndex ); // get column parser/extractor extractor = ts.getParserById( ts.getData( header, configHeaders, 'extractor' ) );
Consider simplifying this complex logical expression. Open
Open
if ( ( wo.filter_$anyMatch && wo.filter_$anyMatch.length ) || typeof filters[c.columns] !== 'undefined' ) { data.anyMatchFlag = true; data.anyMatchFilter = '' + ( filters[ c.columns ] ||
Consider simplifying this complex logical expression. Open
Open
if ( $header && $header.length ) { // $filter = c.$filters.filter( '[data-column="' + column + '"]' ); $filter = tsf.getColumnElm( c, c.$filters, column ); ffxn = ts.getColumnData( table, wo.filter_functions, column ); makeSelect = ( wo.filter_functions && ffxn && typeof ffxn !== 'function' ) ||
Function generateLink
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function generateLink(packageName: String, packageVersion: String, targetHost: String, managerHost: String, packageAction: String)
Function buildSelect
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
buildSelect: function( table, column, arry, updating, onlyAvail ) {
Method isInstalled
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function isInstalled($dba,$dbh,$search,$update,$target_host){
Method tasks_run
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function tasks_run($rest_host, $rest_port, $username, $password, $task_id)
Method tasks_result
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function tasks_result($rest_host, $rest_port, $username, $password, $task_id)
Function getColumnData
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
getColumnData : function( table, obj, indx, getCell, $headers ) {
Method recipe_result
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function recipe_result($rest_host, $rest_port, $username, $password, $recipe_id)
Method tasks_delete
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function tasks_delete($rest_host, $rest_port, $username, $password, $task_id)