Condition Coverage

blib/lib/Math/Brent.pm
Criterion Covered Total %
condition 37 50 74.0


and 3 conditions

line !l l&&!r l&&r condition
398 6 3 0 $fa > 0 and $fb > 0
3 6 0 $fa < 0 and $fb < 0
423 38 9 28 $fb > 0 and $fc > 0
9 16 22 $fb < 0 and $fc < 0
461 0 9 57 abs $e >= $tol1 and abs $fa > abs $fb

or 2 conditions

line l !l condition
285 0 5 $ITMAX //= 100
286 1 4 $tol //= 1e-08
404 0 9 $ITMAX //= 100
405 1 8 $tol //= 1e-08

or 3 conditions

line l !l&&r !l&&!r condition
316 5 0 34 abs $p >= abs 0.5 * $q * $etemp or $p <= $q * ($a - $x)
5 0 34 abs $p >= abs 0.5 * $q * $etemp or $p <= $q * ($a - $x) or $p >= $q * ($b - $x)
325 4 1 29 $u - $a < $tol2 or $b - $u < $tol2
374 5 2 6 $fu <= $fw or $w == $x
4 0 2 $fu <= $fv or $v == $x
4 2 0 $fu <= $fv or $v == $x or $v == $w
398 0 0 9 $fa > 0 and $fb > 0 or $fa < 0 and $fb < 0
423 28 0 47 $fb > 0 and $fc > 0 or $fb < 0 and $fc < 0
459 9 0 66 abs $xm <= $tol1 or $fb == 0