blib/lib/App/Toot/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 14 | 0.0 |
line | true | false | branch |
---|---|---|---|
14 | 0 | 0 | unless (defined $section) |
20 | 0 | 0 | unless (exists $config->{$section}) |
31 | 0 | 0 | if ($ENV{'HOME'} and -d "$ENV{'HOME'}/.config/$name") { } |
0 | 0 | elsif (-d "/etc/$name") { } | |
47 | 0 | 0 | unless (-e $rc and -r $rc) |
53 | 0 | 0 | unless (defined $config->{'default'}) |
59 | 0 | 0 | unless (defined $config->{$section}{$key}) |