mambax7/alumni-26x

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

Summary

Maintainability
A
3 hrs
Test Coverage

Function getRows has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        getRows: function(c, wo) {
            var norm_rows = c.cache[0].normalized,
                rows = [];
            chart_rows = [];
            chart_categories = [];
Severity: Major
Found in media/jquery/tablesorter-master/js/widgets/widget-chart.js - About 2 hrs to fix

    Consider simplifying this complex logical expression.
    Open

                    if (
                        (/v/i.test(wo.chart_incRows) && $tr.is(':visible')) ||
                        (/f/i.test(wo.chart_incRows) && !$tr.hasClass(wo.filter_filteredRow || 'filtered')) ||
                        (!/(v|f)/i.test(wo.chart_incRows))
                        ) {
    Severity: Major
    Found in media/jquery/tablesorter-master/js/widgets/widget-chart.js - About 40 mins to fix

      There are no issues that match your filters.

      Category
      Status