mambax7/alumni-26x

View on GitHub
media/jquery/tablesorter-master/js/widgets/widget-columns.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function format has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        format: function(table, c, wo) {
            var $tbody, tbodyIndex, $rows, rows, $row, $cells, remove, indx,
            $table = c.$table,
            $tbodies = c.$tbodies,
            sortList = c.sortList,
Severity: Minor
Found in media/jquery/tablesorter-master/js/widgets/widget-columns.js - About 1 hr to fix

    Avoid deeply nested control flow statements.
    Open

                                    for (indx = 1; indx < len; indx++) {
                                        // secondary, tertiary, etc sort column classes
                                        $cells.eq(sortList[indx][0]).addClass( css[indx] || css[last] );
                                    }
    Severity: Major
    Found in media/jquery/tablesorter-master/js/widgets/widget-columns.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status