blib/lib/Mojolicious/Plugin/YamlConfig.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 13 | 38.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
45 | 1 | 0 | 0 | not $config and $error |
line | l | !l | condition |
---|---|---|---|
12 | 3 | 0 | $conf ||= {} |
14 | 0 | 3 | $ENV{'MOJO_YAML'} || 'YAML::Tiny' |
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' |