Branch Coverage

blib/lib/Var/Pairs.pm
Criterion Covered Total %
branch 27 50 54.0


line true false branch
14 0 20 if (eval { do { require autobox } })
35 20 0 if (not @exports) { }
40 0 0 @bad == 1 ? :
0 0 if @bad
53 0 20 if ($autoboxing)
79 3 4 ref($_) =~ /SCALAR|REF/u ? :
97 5 6 ref($_) =~ /SCALAR|REF/u ? :
103 1 43 if (not defined wantarray) { }
1 42 elsif (not wantarray) { }
114 2 40 unless ($container_type =~ /^ARRAY$|^HASH$/u)
122 0 0 if (not wantarray and $iterator_for{$ID})
128 162 53 $container_is_array ? :
129 27 13 $container_is_array ? :
154 0 13 if (not defined wantarray) { }
0 13 elsif (not wantarray) { }
165 0 13 unless ($container_type =~ /^ARRAY$|^HASH$/u)
173 11 2 if ($container_type eq 'ARRAY') { }
216 0 0 if (not defined wantarray) { }
0 0 elsif (not wantarray) { }
227 0 0 ref $values eq 'ARRAY' ? :
236 0 0 ref $values eq 'ARRAY' ? :
247 0 0 $return_as_pairs ? :
258 18 106 unless (defined $each_pair)
272 10 64 unless (@each_kv)
277 74 0 wantarray ? :