Condition Coverage

blib/lib/Mojolicious/Plugin/YamlConfig.pm
Criterion Covered Total %
condition 5 13 38.4


and 3 conditions

line !l l&&!r l&&r condition
45 1 0 0 not $config and $error

or 2 conditions

line l !l condition
12 3 0 $conf ||= {}
14 0 3 $ENV{'MOJO_YAML'} || 'YAML::Tiny'

or 3 conditions

line l !l&&r !l&&!r condition
14 0 3 0 $conf->{'class'} ||= $ENV{'MOJO_YAML'} || 'YAML::Tiny'
46 0 0 1 not $config or ref $config ne 'HASH'