Branch Coverage

blib/lib/BSD/arc4random.pm
Criterion Covered Total %
branch 9 28 32.1


line true false branch
69 8 0 if $have_threadlock
78 0 0 if $have_threadlock
87 3 0 if $have_threadlock
96 0 0 if $have_threadlock
103 0 0 if $have_threadlock
117 0 0 if (defined $buf)
122 0 0 if ($vleft < 4)
131 0 0 if ($vleft == 0)
162 0 8 unless defined $upper_bound
165 0 8 if $upper_bound < 2 or $upper_bound > 4294967295
168 2 6 if ($upper_bound > 2147483648) { }
182 8 0 if $r >= $min
195 0 1 if (not defined $max or ($max = int $max) > 4294967294 or $max < 0)
207 0 4 $$self == 0 ? :