Condition Coverage

blib/lib/Catalyst/Plugin/ConfigLoader.pm
Criterion Covered Total %
condition 19 26 73.0


or 2 conditions

line l !l condition
80 0 9 $c->config->{'Plugin::ConfigLoader'}{'driver'} || {}
228 0 16 Catalyst::Utils::env_value($appname, 'CONFIG_LOCAL_SUFFIX') || $c->config->{'Plugin::ConfigLoader'}{'config_local_suffix'} || 'local'
309 66 78 $c->config->{'Plugin::ConfigLoader'}{'substitutions'} || {}
310 64 80 $subs->{'HOME'} ||= sub {
321 64 80 $subs->{'ENV'} ||= sub {
322 64 80 $subs->{'path_to'} ||= sub {
323 64 80 $subs->{'literal'} ||= sub {

or 3 conditions

line l !l&&r !l&&!r condition
180 2 9 0 ref $c || $c
184 3 5 0 Catalyst::Utils::env_value($appname, 'CONFIG') || $c->config->{'Plugin::ConfigLoader'}{'file'} || $c->path_to($prefix)
225 1 18 0 ref $c || $c
240 0 4 0 delete $$config{lc $_} || delete $config->{$_}