Branch Coverage

blib/lib/Util/H2O/More.pm
Criterion Covered Total %
branch 41 46 89.1


line true false branch
34 9 2 if ($pos0 eq '-recurse') { }
47 9 2 if ($pos0 eq '-recurse') { }
89 1 2 if (@_ and $_[0] and not ref $_[0] and $_[0] =~ /^-autoundef/)
94 1 2 if ($autoundef)
99 0 1 if @_
145 0 28 if (ref $ref ne "HASH")
160 150 272 if (@_ and $_[0] and not ref $_[0] and $_[0] =~ /^-autoundef/)
167 59 368 if ($isa eq 'ARRAY') { }
86 282 elsif ($isa eq 'HASH') { }
170 91 112 if ($autoundef) { }
180 50 126 if ($autoundef) { }
187 21 65 if ($autoundef) { }
192 0 5 if @_
225 1 0 if $i > $#{$self;}
265 3 140 unless $thing
267 18 122 if ($isa =~ /^Util::H2O::More::__a2o/) { }
17 105 elsif ($isa =~ /^Util::H2O::_/) { }
310 0 6 if (@lines == 1 and -e $file_or_yaml) { }
4 2 elsif ($lines[0] eq '---') { }
355 1 6 if (@_ and $_[0] and not ref $_[0] and $_[0] =~ /^-autothrow/)
359 6 1 if (ref $ref eq 'HASH' and exists $ref->{'content'}) { }
362 5 1 if ($ref->content) { }
365 1 4 if ($autothrow) { }