Condition Coverage

blib/lib/Mojolicious/Plugin/Tables/Controller/Tables.pm
Criterion Covered Total %
condition 7 48 14.5


and 3 conditions

line !l l&&!r l&&r condition
192 0 0 0 $val eq '' and $info->{'is_nullable'}
207 0 0 0 $val eq '' and $info->{'is_nullable'}
220 0 0 0 my $psource = $c->param('psource') and my $child = $c->param('child')
0 0 0 my $psource = $c->param('psource') and my $child = $c->param('child') and my $parent_id = $c->param('parent_id')

or 2 conditions

line l !l condition
11 6 0 $c->stash('user_id') || die('no user_id in stash')
22 0 0 $c->stash('format') || 'x'
41 4 0 $bytable->{$table} || die("no table $table")
43 4 0 $schema->resultset($source) || die("no source $source")
70 0 0 $c->stash('format') || 'html'
82 0 0 $c->param("order[$i][column]") // (last)
83 0 0 $c->param("order[$i][dir]") // (last)
86 0 0 $c->param('draw') || 0
87 0 0 $c->param('start') || 0
88 0 0 $c->param('length') || -1
146 0 0 $c->stash('format') || 'data'
246 0 1 $c->param('offset') || 0
247 0 1 $c->param('limit') || 10
264 1 0 $c->stash('format') || 'html'
274 0 0 $c->param('to') || 'next'

or 3 conditions

line l !l&&r !l&&!r condition
13 0 6 0 $c->app->config('logourl') || $c->url_for('/img/tables.png')
236 0 0 0 $c->param('redirect_to') || "/tables/$table/$id/view"