Branch Coverage

blib/lib/Config/ENV/Multi.pm
Criterion Covered Total %
branch 36 50 72.0


line true false branch
16 12 1 if ('Config::ENV::Multi' eq $class) { }
35 1 11 if $opts{'any'}
36 1 11 if $opts{'unset'}
38 6 6 unless ref $envs
39 1 11 $opts{'rule'} ? :
54 1 0 if (my $export = $opts{'export'} || $data->{'export'})
65 0 0 if $@
66 0 0 unless defined $hash
67 0 0 unless (ref $hash eq 'HASH')
71 0 0 wantarray ? :
80 1 0 if ($data->{'mode'} eq 'env') { }
85 0 1 unless $data->{'configs'}{$target}->as_hashref
103 7 4 if defined $_
105 7 4 /^\{(.+?)\}$/ ? :
107 14 0 if defined $_
117 7 13 if defined $_
119 13 7 /^\{(.+?)\}$/ ? :
121 26 0 if defined $_
141 0 7 unless ref $envs
148 18 3 if (_data($package)->{'mode'} eq 'env') { }
160 4 24 unless ref $envs
193 1 58 unless ref $v
194 101 12 defined $_ ? :
239 22 101 $a eq $self->{'wildcard'}{'unset'} ? :
66 123 $a eq $self->{'wildcard'}{'any'} ? :