blib/lib/Pickles/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 26 | 76.9 |
line | true | false | branch |
---|---|---|---|
30 | 7 | 1 | defined $$self{$key} ? : |
37 | 2 | 9 | if ($dir) { } |
43 | 9 | 0 | if (my $inc_path = $INC{$file}) |
68 | 0 | 1 | if $@ |
69 | 0 | 1 | unless defined $subconf |
70 | 0 | 1 | unless $subconf |
78 | 0 | 14 | unless -e $file |
100 | 2 | 12 | if ($@) |
120 | 2 | 6 | if (my $config_file = env_value('CONFIG', $self->appname)) { } |
127 | 6 | 6 | if -e $base |
131 | 3 | 5 | if (my $env = env_value('ENV', $self->appname)) |
135 | 3 | 0 | $1 ? : |
148 | 6 | 36 | if ('File::Spec'->file_name_is_absolute($path[0])) |