Branch Coverage

blib/lib/Acme/PERLANCAR/Prime.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
26 3 4 if $fact > $sqrt
27 1 3 if $num % $fact == 0
35 0 1 if (@_ > 1) { }
44 1 0 if $i < 2
50 1 0 if ($p >= $i and $p <= $num)
58 3 1 if (_is_prime($i))
63 4 0 if $i % 2 == 0