blib/lib/Config/ENV.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 22 | 95.4 |
line | true | false | branch |
---|---|---|---|
16 | 9 | 5 | if ('Config::ENV' eq $class) { } |
38 | 2 | 3 | if (my $export = $opts{'export'} || $data->{'export'}) |
64 | 9 | 1 | unless 'File::Spec'->file_name_is_absolute($filename) |
67 | 1 | 9 | if $@ |
68 | 1 | 8 | unless defined $hash |
69 | 1 | 7 | unless (ref $hash eq 'HASH') |
73 | 2 | 5 | wantarray ? : |
78 | 0 | 2 | unless _data()->{'envs'}{$name} |
87 | 17 | 8 | unless $data->{'envs'}{$package->env} |
99 | 1 | 7 | unless defined wantarray |
114 | 36 | 28 | unless $ENV{$data->{'name'}} |