Condition Coverage

blib/lib/Mojolicious/Plugin/ConfigHashMerge.pm
Criterion Covered Total %
condition 4 17 23.5


and 3 conditions

line !l l&&!r l&&r condition
20 0 1 0 $mode and not file_name_is_absolute($mode)
21 0 1 0 $mode and -e $mode

or 2 conditions

line l !l condition
13 0 0 $conf->{'ext'} || 'conf'

or 3 conditions

line l !l&&r !l&&!r condition
12 1 0 0 $conf->{'file'} || $ENV{'MOJO_CONFIG'}
13 1 0 0 $file ||= $app->moniker . '.' . ($conf->{'ext'} || 'conf')
25 0 0 0 $conf->{'default'} || $mode