Condition Coverage

lib/Mojolicious/Plugin/INIConfig/Extended.pm
Criterion Covered Total %
condition 19 26 73.0


and 3 conditions

line !l l&&!r l&&r condition
22 3 1 4 $mode and not file_name_is_absolute($mode)
23 3 4 1 $mode and -e $mode
28 3 4 0 exists $conf->{'base_config'} and exists $conf->{'config_files'}
89 5 0 1 $stanza eq 'default' and $key eq 'config_files'
111 4 0 4 exists $cfg->{$stanza} && ref $cfg->{$stanza} eq 'HASH'

or 2 conditions

line l !l condition
15 0 4 $conf->{'ext'} || 'ini'

or 3 conditions

line l !l&&r !l&&!r condition
14 3 0 5 $conf->{'file'} || $ENV{'MOJO_CONFIG'}
15 4 4 0 $file ||= $app->moniker . '.' . ($conf->{'ext'} || 'ini')
28 1 0 2 $conf->{'default'} || $mode