media/jquery/tablesorter-master/js/widgets/widget-chart.js
Function getRows
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getRows: function(c, wo) {
var norm_rows = c.cache[0].normalized,
rows = [];
chart_rows = [];
chart_categories = [];
Consider simplifying this complex logical expression. Open
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))
) {