Branch Coverage

blib/lib/Data/Fake/Core.pm
Criterion Covered Total %
branch 22 38 57.8


line true false branch
75 0 28 unless ref $next eq 'HASH'
148 0 2 unless defined $prob and $prob >= 0 and $prob <= 1
151 3 3 rand() <= $prob ? :
176 0 2 unless @list
178 0 2 if (@list != grep({ref $_ eq 'ARRAY';} @list))
193 3 0 if $rand <= $s->[1]
210 0 34 unless defined $min and defined $max
229 0 13 unless defined $min and defined $max
331 7 5 if ($result_ref eq 'ARRAY') { }
5 0 elsif ($result_ref eq 'HASH') { }
347 319 329 if ($type eq 'CODE') { }
38 291 elsif ($type eq 'HASH') { }
0 291 elsif ($type eq 'ARRAY') { }
353 0 11 ref $v eq 'ARRAY' ? :
1 11 ref $v eq 'HASH' ? :
53 12 ref $v eq 'CODE' ? :
363 0 0 ref $_ eq 'ARRAY' ? :
0 0 ref $_ eq 'HASH' ? :
0 0 ref $_ eq 'CODE' ? :