| blib/lib/App/envfile.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 20 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 35 | 0 | 9 | unless defined $file |
| 38 | 0 | 9 | if $env = $self->_try_any_config_file($file) |
| 40 | 1 | 8 | unless open my $fh, '<', $file |
| 43 | 1 | 11 | if index($line, '#') == 0 |
| 44 | 2 | 9 | if $line =~ /^\s*$/ |
| 57 | 5 | 11 | if (my $type = $$EXTENTIONS_MAP{lc($ext || '')}) |
| 59 | 5 | 0 | if ($type eq 'Perl') { } |
| 61 | 1 | 4 | if $@ |
| 67 | 2 | 2 | unless ref $env eq 'HASH' |
| 78 | 0 | 0 | unless open my $fh, '<', $file |