Branch Coverage

blib/lib/Config/ENV/Multi.pm
Criterion Covered Total %
branch 39 52 75.0


line true false branch
16 13 2 if ('Config::ENV::Multi' eq $class) { }
35 1 12 if $opts{'any'}
36 1 12 if $opts{'unset'}
38 6 7 unless ref $envs
39 1 12 $opts{'rule'} ? :
55 1 1 if (my $export = $opts{'export'} || $data->{'export'})
66 0 0 if $@
67 0 0 unless defined $hash
68 0 0 unless (ref $hash eq 'HASH')
72 0 0 wantarray ? :
81 1 0 if ($data->{'mode'} eq 'env') { }
86 0 1 unless $data->{'configs'}{$target}->as_hashref
104 7 4 if defined $_
106 7 4 /^\{(.+?)\}$/ ? :
108 14 0 if defined $_
118 7 13 if defined $_
120 13 7 /^\{(.+?)\}$/ ? :
122 26 0 if defined $_
142 0 8 unless ref $envs
149 22 3 if (_data($package)->{'mode'} eq 'env') { }
161 4 29 unless ref $envs
189 1 7 unless defined wantarray
208 1 76 unless ref $v
209 111 38 defined $_ ? :
255 48 166 $a eq $self->{'wildcard'}{'unset'} ? :
105 214 $a eq $self->{'wildcard'}{'any'} ? :