Condition Coverage

blib/lib/Math/Prime/Util/RandomPrimes.pm
Criterion Covered Total %
condition 45 83 54.2


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 2 0 $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 31 0 0 $_big_gcd_use and $p > $_big_gcd_top
645 5 0 0 $verbose and $verbose != 3
670 45 0 0 $_big_gcd_use and $n > $_big_gcd_top
696 0 0 6 $q->is_odd and $q > 2
0 0 6 $q->is_odd and $q > 2 and $m > 0
0 0 6 $q->is_odd and $q > 2 and $m > 0 and $m * $q + $ONE == $n
0 0 6 $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 74 38 0 $looks_prime and $_big_gcd_use
112 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 74 4 34 $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 193 257 $zi >= $pm or defined $premod[$pm]
505 39 18 55 $a % 3 == $premod[3] or $a % 5 == $premod[5]
57 5 50 $a % 3 == $premod[3] or $a % 5 == $premod[5] or $a % 7 == $premod[7]
23 3 47 $a % 3 == $premod[3] or $a % 5 == $premod[5] or $a % 7 == $premod[7] or $a % 11 == $premod[11]
8 4 43 $a % 3 == $premod[3] or $a % 5 == $premod[5] or $a % 7 == $premod[7] or $a % 11 == $premod[11] or $a % 13 == $premod[13]
7 2 41 $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]
6 3 38 $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]