lib/Egg/Plugin/ConfigLoader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 24 | 0.0 |
line | true | false | branch |
---|---|---|---|
14 | 0 | 0 | $_[1] ? : |
0 | 0 | $_[0] ? : | |
15 | 0 | 0 | if ($conf and ref $conf eq 'SCALAR') { } |
0 | 0 | elsif (not $conf) { } | |
19 | 0 | 0 | -e "$path/$name_lc.yml" ? : |
0 | 0 | -e "$path/$name_lc.yaml" ? : | |
0 | 0 | -e "$path/etc/$name_lc.yml" ? : | |
0 | 0 | -e "$path/etc/$name_lc.yaml" ? : | |
0 | 0 | $path =~ /\.ya?ml$/i ? : | |
27 | 0 | 0 | unless $path =~ /\.yaml$/ |
29 | 0 | 0 | if ref $class |
30 | 0 | 0 | unless "${class}::config"->require |