Condition Coverage

blib/lib/Catalyst/Plugin/ConfigLoader.pm
Criterion Covered Total %
condition 8 23 34.8


or 2 conditions

line l !l condition
185 0 4 $ENV{'CATALYST_CONFIG_LOCAL_SUFFIX'} || $ENV{Catalyst::Utils::class2env($appname) . '_CONFIG_LOCAL_SUFFIX'} || $c->config->{'config_local_suffix'} || 'local'

or 3 conditions

line l !l&&r !l&&!r condition
146 0 2 0 ref $c || $c
150 0 0 2 $ENV{Catalyst::Utils::class2env($appname) . '_CONFIG'} || $c->config->{'file'}
0 2 0 $ENV{Catalyst::Utils::class2env($appname) . '_CONFIG'} || $c->config->{'file'} || $c->path_to($prefix)
181 0 4 0 ref $c || $c
185 0 0 4 $ENV{'CATALYST_CONFIG_LOCAL_SUFFIX'} || $ENV{Catalyst::Utils::class2env($appname) . '_CONFIG_LOCAL_SUFFIX'}
0 0 4 $ENV{'CATALYST_CONFIG_LOCAL_SUFFIX'} || $ENV{Catalyst::Utils::class2env($appname) . '_CONFIG_LOCAL_SUFFIX'} || $c->config->{'config_local_suffix'}
198 0 1 0 delete $$config{lc $_} || delete $$config{$_}