Branch Coverage

blib/lib/Hash/Fold.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
112 22 4 @_ == 1 ? :
124 0 5 if (@_ and ref $_[0] eq 'ARRAY') { }
126 0 0 @_ == 1 ? :
141 0 69 unless ($ref eq 'HASH')
144 0 0 if (defined $hash) { }
145 0 0 length $ref ? :
158 90 60 defined $prefix ? :
196 92 4 length $hash_delimiter >= length $array_delimiter ? :
211 98 16 if ($same_delimiter) { }
213 38 60 if ($step eq '0' or $step =~ /^[1-9]\d*$/) { }
219 6 10 if ($delimiter eq $array_delimiter) { }
244 12 168 if ($self->is_object($value))
251 5 175 if ($refaddr and $seen->{$refaddr}) { }
70 105 elsif ($ref eq 'HASH') { }
18 87 elsif ($ref eq 'ARRAY') { }
267 63 7 if (%$value) { }
287 16 2 if (@$value) { }
330 114 96 if (@$steps) { }
334 17 32 $next_step->[0] == 1 ? :
338 14 100 $step->[0] == 1 ? :
340 30 66 if ($step->[0] == 1) { }
347 114 95 @$steps ? :