Condition Coverage

blib/lib/Math/Polynom.pm
Criterion Covered Total %
condition 31 39 79.4


and 3 conditions

line !l l&&!r l&&r condition
202 1547 46 37 not defined $self->xpos and $r > 0
1378 197 18 not defined $self->xneg and $r < 0
511 5 13 297 $f_b != 0 and abs $b - $a > $precision
531 88 157 51 $f_a != $f_c and $f_b != $f_c
546 109 41 146 $s < (3 * $a + $b) / 4 and $s > $b
48 41 61 $mflag and abs $s - $b >= abs($b - $c) / 2
41 30 18 not $mflag and abs $s - $b >= abs($c - $d) / 2

or 3 conditions

line l !l&&r !l&&!r condition
134 0 155 0 ref $pkg || $pkg
403 0 0 15 float_is_nan $q0 or float_is_nan $q1
432 1 11 106 $q1 == 0 or abs $p - $p1 <= $precision
487 0 0 24 float_is_nan $f_a or float_is_nan $f_b
546 146 0 150 $s < (3 * $a + $b) / 4 and $s > $b or $mflag and abs $s - $b >= abs($b - $c) / 2
61 0 89 $s < (3 * $a + $b) / 4 and $s > $b or $mflag and abs $s - $b >= abs($b - $c) / 2 or not $mflag and abs $s - $b >= abs($c - $d) / 2