Branch Coverage

blib/lib/Mojolicious/Plugin/DataTables.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
60 0 0 unless ($db)
61 0 0 if $debug
69 0 0 if ($db_type =~ /Mojo::Pg/)
75 0 0 unless $ssp->draw
85 0 0 if ($where)
86 0 0 if (ref $where eq 'ARRAY') { }
99 0 0 if ($_->database and $_->searchable != 0 and $_->search->{'value'})
101 0 0 if ($_->search->{'regex'}) { }
112 0 0 if (@col_filters)
117 0 0 if ($ssp->search->{'value'})
122 0 0 if ($_->database and $_->searchable != 0)
124 0 0 if ($ssp->search->{'regex'}) { }
135 0 0 if (@global_filters)
142 0 0 if (@db_filters)
147 0 0 if (%{$ssp->db_order;})
166 0 0 if ($debug)
186 0 0 if (ref $column->formatter eq 'CODE')
201 0 0 if (@db_bind)
222 0 0 if $c->req->{'method'} eq 'GET'
223 0 0 if $c->req->{'method'} eq 'POST'
253 0 0 if $value eq 'true'
254 0 0 if $value eq 'false'
256 0 0 if $_ =~ /columns\[(\d+)\]\[(data|name|searchable|orderable)\]/
257 0 0 if $_ =~ /columns\[(\d+)\]\[search\]\[(regex|value|)\]/
258 0 0 if $_ =~ /order\[(\d+)\]\[(column|dir)\]/
259 0 0 if $_ =~ /search\[(value|regex)\]/
271 0 0 if (defined $dt_option->{'searchable'})
274 0 0 if (defined $dt_option->{'orderable'})