Branch Coverage

blib/lib/Mojolicious/Plugin/YamlConfig.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
17 0 3 unless (grep {$conf->{'class'} eq $_;} @supported)
27 0 1 unless eval "require $class; 1"
35 0 1 unless (grep {$class eq $_;} @broken)
41 0 1 if ($@)
45 0 1 if not $config and $error
46 0 1 if not $config or ref $config ne 'HASH'