Condition Coverage

blib/lib/Mojolicious/Plugin/Config.pm
Criterion Covered Total %
condition 15 17 88.2


and 3 conditions

line !l l&&!r l&&r condition
36 6 2 18 $mode and not path($mode)->is_abs
37 6 6 14 $mode and -e $mode

or 2 conditions

line l !l condition
29 5 11 $conf->{'ext'} || 'conf'

or 3 conditions

line l !l&&r !l&&!r condition
28 8 2 16 $conf->{'file'} || $ENV{'MOJO_CONFIG'}
29 10 16 0 $file ||= $app->moniker . "." . ($conf->{'ext'} || 'conf')
41 2 0 4 $conf->{'default'} || $mode