Branch Coverage

blib/lib/Mojolicious/Plugin/CascadingConfig.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
9 6 14 if defined $plugin_conf->{'modes'} and not ref $plugin_conf->{'modes'} eq 'ARRAY' && @{$plugin_conf->{'modes'};}
13 2 12 if $app->config->{'config_override'}
15 5 7 unless $plugin_conf->{'modes'}
22 7 11 if ($mode eq $app_mode)
34 6 17 $mode eq 'production' ? :
37 4 19 unless (-e $file)
38 3 1 if ($require) { }