Branch Coverage

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'})
67 10 1 unless 'File::Spec'->file_name_is_absolute($filename)
70 1 10 if $@
71 2 8 unless defined $hash
72 1 7 unless (ref $hash eq 'HASH')
76 2 5 wantarray ? :
81 0 2 unless _data()->{'envs'}{$name}
90 17 8 unless $data->{'envs'}{$package->env}
102 1 7 unless defined wantarray
117 36 28 unless $ENV{$data->{'name'}}