Condition Coverage

blib/lib/Math/Prime/Util/RandomPrimes.pm
Criterion Covered Total %
condition 46 83 55.4


and 2 conditions

line l !l condition
405 3 0 $digits <= 6 and 1
449 13 0 $bits <= 20 and 1
480 3 3 $l == 63 and 0
592 0 0 $k <= 64 and 1

and 3 conditions

line !l l&&!r l&&r condition
386 0 1 1 $low > 2 and $low % 2 == 0
392 0 0 0 $low == $high and &is_prob_prime($low)
409 0 2 1 $bigdigits and prime_get_config()->{'nobigint'}
516 59 0 0 $_big_gcd_use and $p > $_big_gcd_top
645 5 0 0 $verbose and $verbose != 3
670 32 0 0 $_big_gcd_use and $n > $_big_gcd_top
696 0 0 5 $q->is_odd and $q > 2
0 0 5 $q->is_odd and $q > 2 and $m > 0
0 0 5 $q->is_odd and $q > 2 and $m > 0 and $m * $q + $ONE == $n
0 0 5 $q->is_odd and $q > 2 and $m > 0 and $m * $q + $ONE == $n and $TWO * $q + $ONE > $n->copy->bsqrt
748 0 0 6 defined $input_seed and length $input_seed >= 32
810 33 16 0 $looks_prime and $_big_gcd_use
49 0 0 $looks_prime and $_big_gcd_use and $c > $_big_gcd_top
811 0 0 0 Math::BigInt::bgcd($c, $_big_gcd[0])->is_one && Math::BigInt::bgcd($c, $_big_gcd[1])->is_one && Math::BigInt::bgcd($c, $_big_gcd[2])->is_one && Math::BigInt::bgcd($c, $_big_gcd[3])->is_one
816 33 4 12 $looks_prime and not &is_strong_pseudoprime($c, 3)
829 0 0 4 Math::BigInt::bgcd($z - 1, $c)->is_one and $z->copy->bmodpow($c0, $c)->is_one
900 1 0 0 prime_get_config()->{'gmp'} and $k <= 450

or 3 conditions

line l !l&&r !l&&!r condition
381 0 0 2 $high < 2 or $low > $high
494 348 168 282 $zi >= $pm or defined $premod[$pm]
505 67 25 111 $a % 3 == $premod[3] or $a % 5 == $premod[5]
92 14 97 $a % 3 == $premod[3] or $a % 5 == $premod[5] or $a % 7 == $premod[7]
39 5 92 $a % 3 == $premod[3] or $a % 5 == $premod[5] or $a % 7 == $premod[7] or $a % 11 == $premod[11]
19 12 80 $a % 3 == $premod[3] or $a % 5 == $premod[5] or $a % 7 == $premod[7] or $a % 11 == $premod[11] or $a % 13 == $premod[13]
17 3 77 $a % 3 == $premod[3] or $a % 5 == $premod[5] or $a % 7 == $premod[7] or $a % 11 == $premod[11] or $a % 13 == $premod[13] or $a % 17 == $premod[17]
15 2 75 $a % 3 == $premod[3] or $a % 5 == $premod[5] or $a % 7 == $premod[7] or $a % 11 == $premod[11] or $a % 13 == $premod[13] or $a % 17 == $premod[17] or $a % 19 == $premod[19]