Condition Coverage

blib/lib/Math/Prime/Util/PPFE.pm
Criterion Covered Total %
condition 21 37 56.7


and 2 conditions

line l !l condition
788 53 50 &$sub() and return 1
798 23 0 &$sub() and return 0
809 3 1 &$sub() and return $_
816 3 1 ++$i and &$sub() and return $i - 1

and 3 conditions

line !l l&&!r l&&r condition
44 1 0 0 defined $seed and prime_get_config()->{'secure'}
816 0 3 1 ++$i and &$sub()

or 2 conditions

line l !l condition
740 1 0 ref $sub || ''
741 2 0 ref $_ || ''
793 25 61 &$sub() or return 0
803 1 1 &$sub() or return 1

or 3 conditions

line l !l&&r !l&&!r condition
53 0 0 1 not defined $bytes or $bytes < 1
0 0 1 not defined $bytes or $bytes < 1 or $bytes > 4294967295
0 0 1 not defined $bytes or $bytes < 1 or $bytes > 4294967295 or $bytes != int $bytes
498 0 0 9 $increment < 1 or $increment > 256
743 0 0 1 scalar @v == 0 or grep {not @$_;} @v