Condition Coverage

lib/Mojolicious/Plugin/ContextResources.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

line !l l&&!r l&&r condition
13 4 0 4 $stash->{'controller'} and $stash->{'action'}

or 2 conditions

line l !l condition
25 3 0 $conf ||= {}
29 0 3 $conf->{'public'} //= 'public'
30 0 3 $conf->{'js'} //= '/js'
31 0 3 $conf->{'css'} //= '/css'

or 3 conditions

line l !l&&r !l&&!r condition
28 0 3 0 $conf->{'home'} //= $app->home