Branch Coverage

blib/lib/Mojolicious/Plugin/ConfigHashMerge.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
12 1 2 if $app->config->{'config_override'}
19 2 0 $file =~ /^(.*)\.([^.]+)$/ ? :
22 2 0 unless file_name_is_absolute($file)
23 2 0 if $mode and not file_name_is_absolute($mode)
24 2 0 unless $mode and -e $mode
28 2 0 if (-e $file) { }
0 0 elsif (not $conf->{'default'} || $mode) { }
36 0 2 if $mode
37 2 0 if $conf->{'default'}