Condition Coverage

blib/lib/Math/NumberCruncher.pm
Criterion Covered Total %
condition 170 487 34.9


and 3 conditions

line !l l&&!r l&&r condition
49 0 0 1 defined $arrayref and @$arrayref > 0
67 0 0 12 defined $arrayref and @$arrayref > 0
77 0 0 1 defined $arrayref and @$arrayref > 0
91 0 0 2 defined $arrayref and @$arrayref > 0
99 0 0 1 defined $arrayref and @$arrayref > 0
103 1 299 0 @result and $count{$_} != $count{$result[0]}
113 0 0 2 defined $array1ref and defined $array2ref
0 0 2 defined $array1ref and defined $array2ref and @$array1ref > 0
0 0 2 defined $array1ref and defined $array2ref and @$array1ref > 0 and $array2ref > 0
129 0 0 1 defined $array1ref and defined $array2ref
0 0 1 defined $array1ref and defined $array2ref and @$array1ref > 0
0 0 1 defined $array1ref and defined $array2ref and @$array1ref > 0 and $array2ref > 0
150 0 0 1 defined $a_ref and defined $b_ref
0 0 1 defined $a_ref and defined $b_ref and @$a_ref > 0
0 0 1 defined $a_ref and defined $b_ref and @$a_ref > 0 and @$b_ref > 0
240 0 0 1 $n >= 0 and $n == int $n
290 0 0 1 defined $arrayref and @$arrayref > 0
304 0 0 1 defined $arrayref and @$arrayref > 0
314 0 0 1 defined $arrayref1 and defined $arrayref2
0 0 1 defined $arrayref1 and defined $arrayref2 and @$arrayref1 > 0
0 0 1 defined $arrayref1 and defined $arrayref2 and @$arrayref1 > 0 and @$arrayref2 > 0
332 0 0 1 defined $arrayref1 and defined $arrayref2
0 0 1 defined $arrayref1 and defined $arrayref2 and @$arrayref1 > 0
0 0 1 defined $arrayref1 and defined $arrayref2 and @$arrayref1 > 0 and @$arrayref2 > 0
346 0 0 1 defined $arrayref1 and defined $arrayref2
0 0 1 defined $arrayref1 and defined $arrayref2 and @$arrayref1 > 0
0 0 1 defined $arrayref1 and defined $arrayref2 and @$arrayref1 > 0 and @$arrayref2 > 0
367 0 0 1 defined $arrayref1 and defined $arrayref2
0 0 1 defined $arrayref1 and defined $arrayref2 and @$arrayref1 > 0
0 0 1 defined $arrayref1 and defined $arrayref2 and @$arrayref1 > 0 and @$arrayref2 > 0
398 0 0 70 defined $n and defined $k
429 0 0 3 defined $arrayref and @$arrayref > 0
439 0 0 1 defined $arrayref and @$arrayref > 0
448 0 0 1 defined $arrayref and @$arrayref > 0
463 0 0 1 defined $trials and defined $hits
0 0 1 defined $trials and defined $hits and defined $probability
476 0 0 1 defined $var and defined $unit
524 0 1 0 $acc and $force
0 0 1 $acc and $mass
0 0 0 $force and $mass
588 0 0 1 @xy % 2 == 0 and @xy > 0
599 0 0 3 defined $x0 and defined $y0
0 0 3 defined $x0 and defined $y0 and defined $x1
0 0 3 defined $x0 and defined $y0 and defined $x1 and defined $y1
0 0 3 defined $x0 and defined $y0 and defined $x1 and defined $y1 and defined $x2
0 0 3 defined $x0 and defined $y0 and defined $x1 and defined $y1 and defined $x2 and defined $y2
606 0 0 1 defined $x and defined $y
0 0 1 defined $x and defined $y and @xy > 0
615 2 1 1 $y[$i] <= $y && $y < $y[$j] || $y[$j] <= $y && $y < $y[$i] and $x < ($x[$j] - $x[$i]) * ($y - $y[$i]) / ($y[$j] - $y[$i]) + $x[$i]
627 0 0 0 defined $d and @points > 0
638 0 0 1 defined $d and @bb > 0
654 0 0 1 defined defined $x and defined $y
0 0 1 defined defined $x and defined $y and defined $x0
0 0 1 defined defined $x and defined $y and defined $x0 and defined $y0
0 0 1 defined defined $x and defined $y and defined $x0 and defined $y0 and defined $x1
0 0 1 defined defined $x and defined $y and defined $x0 and defined $y0 and defined $x1 and defined $y1
0 0 1 defined defined $x and defined $y and defined $x0 and defined $y0 and defined $x1 and defined $y1 and defined $x2
0 0 1 defined defined $x and defined $y and defined $x0 and defined $y0 and defined $x1 and defined $y1 and defined $x2 and defined $y2
666 0 0 1 $cw0 < 0 and $cw1 > 0
0 0 0 $cw0 > 0 and $cw1 < 0
669 0 0 0 $cw0 < 0 and $cw2 > 0
0 0 0 $cw0 > 0 and $cw2 < 0
683 0 0 1 @xy % 2 == 0 and @xy > 0
761 0 0 1 defined $radius and defined $height
773 0 0 1 defined $lowerbase and defined $height
920 0 0 1 defined $stride_length and defined $leg_length
954 0 0 1 defined $speed and defined $legLength
997 0 0 1 $a and $b
1009 0 0 1 $a and $b

or 2 conditions

line l !l condition
262 1 0 shift() || 1
263 1 0 shift() || 6
273 301 0 shift() || 0
274 301 0 shift() || 1
1538 1 0 shift() || 1
1539 1 0 shift() || 50
1540 0 1 shift() || 1
1691 1 0 shift() || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
76 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
149 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
400 0 0 70 $k > $n or $k < 0
428 2 0 1 shift() || $Math::NumberCruncher::DECIMALS
437 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
447 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
475 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
544 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
555 0 0 1 @_ == 4 or @_ == 7
615 1 0 3 $y[$i] <= $y && $y < $y[$j] || $y[$j] <= $y && $y < $y[$i]
666 1 0 0 $cw0 < 0 and $cw1 > 0 or $cw0 > 0 and $cw1 < 0
669 0 0 0 $cw0 < 0 and $cw2 > 0 or $cw0 > 0 and $cw2 < 0
703 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
715 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
726 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
737 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
748 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
760 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
772 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
784 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
796 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
808 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
819 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
830 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
841 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
852 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
863 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
874 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
885 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
896 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
907 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
919 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
930 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
941 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
953 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
968 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
980 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
996 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1008 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1022 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1035 4 0 1 shift() || $Math::NumberCruncher::DECIMALS
1065 6 0 1 shift() || $Math::NumberCruncher::DECIMALS
1095 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1107 3 0 1 shift() || $Math::NumberCruncher::DECIMALS
1130 1 0 1 shift() || $Math::NumberCruncher::DECIMALS
1151 1 0 1 shift() || $Math::NumberCruncher::DECIMALS
1179 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1192 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1209 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1219 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1230 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1241 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1254 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1266 1 0 1 shift() || $Math::NumberCruncher::DECIMALS
1278 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1290 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1308 13 0 3 shift() || $Math::NumberCruncher::DECIMALS
1315 0 0 0 shift() || $Math::NumberCruncher::DECIMALS
1323 16 0 1 shift() || $Math::NumberCruncher::DECIMALS
1362 0 0 0 shift() || $Math::NumberCruncher::DECIMALS
1385 2 0 0 shift() || $Math::NumberCruncher::DECIMALS
1408 0 0 0 shift() || $Math::NumberCruncher::DECIMALS
1416 3 0 0 shift() || $Math::NumberCruncher::DECIMALS
1451 0 0 0 shift() || $Math::NumberCruncher::DECIMALS
1459 2 0 1 shift() || $Math::NumberCruncher::DECIMALS
1489 3 0 0 shift() || $Math::NumberCruncher::DECIMALS
1516 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1517 0 0 1 $s <= 0 or $t <= 0
1528 0 0 1 shift() || $Math::NumberCruncher::DECIMALS
1529 0 0 1 $s <= 0 or $t <= 0
1557 5 0 1 shift() || $Math::NumberCruncher::DECIMALS
1586 0 0 1 /_gm_/i or /all/i
1595 0 0 1 /_catalan_/i or /all/i
1604 1 0 0 /_apery_/i or /all/i
1613 0 0 1 /_gamma_/i or /all/i
1622 0 0 1 /_khintchine_/i or /all/i
1631 0 0 1 /_landau_/i or /_ramanujan_/i
0 0 1 /_landau_/i or /_ramanujan_/i or /_lr_/i
0 0 1 /_landau_/i or /_ramanujan_/i or /_lr_/i or /all/i
1640 0 0 1 /_sierpinski_/i or /all/i
1649 0 0 1 /_wilbraham_/i or /_gibbs_/i
0 0 1 /_wilbraham_/i or /_gibbs_/i or /all/i
1658 0 0 1 /_sqrt2_/i or /all/i
1667 0 0 1 /_sqrt3_/i or /all/i
1676 0 0 1 /_sqrt5_/i or /all/i
1692 0 0 1 $n > 498 or $n < 2
0 0 1 $n > 498 or $n < 2 or $n % 2
1944 0 0 1 shift() || $Math::NumberCruncher::DECIMALS