Condition Coverage

lib/Math/Business/BlackScholesMerton/Binaries.pm
Criterion Covered Total %
condition 16 24 66.6


and 3 conditions

line !l l&&!r l&&r condition
419 0 0 11 $upordown_prob < $onetouch_up_prob + $onetouch_down_prob + $SMALL_TOLERANCE and $upordown_prob + $SMALL_TOLERANCE > $onetouch_up_prob
0 0 11 $upordown_prob < $onetouch_up_prob + $onetouch_down_prob + $SMALL_TOLERANCE and $upordown_prob + $SMALL_TOLERANCE > $onetouch_up_prob and $upordown_prob + $SMALL_TOLERANCE > $onetouch_down_prob
496 238 15 0 $k == 1 and not abs $phi < $stability_constant
561 15 0 1 $p != 1 and $p != 2
15 0 1 $p != 1 and $p != 2 and $p != 3

or 2 conditions

line l !l condition
228 17 22 $w ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
343 2 2 12 $S >= $U or $S <= $D

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
376 7 2 2 0 $onetouch_up_prob xor $onetouch_down_prob