blib/lib/Mojolicious/Plugin/ConfigHashMerge.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 17 | 41.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
23 | 0 | 0 | 2 | $mode and not file_name_is_absolute($mode) |
24 | 0 | 2 | 0 | $mode and -e $mode |
line | l | !l | condition |
---|---|---|---|
16 | 0 | 1 | $conf->{'ext'} || 'conf' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
15 | 1 | 0 | 1 | $conf->{'file'} || $ENV{'MOJO_CONFIG'} |
16 | 1 | 1 | 0 | $file ||= $app->moniker . '.' . ($conf->{'ext'} || 'conf') |
28 | 0 | 0 | 0 | $conf->{'default'} || $mode |