Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
480 0 10 0 $upordown_prob < $onetouch_up_prob + $onetouch_down_prob + $SMALL_TOLERANCE and $upordown_prob + $SMALL_TOLERANCE > $onetouch_up_prob
0 10 0 $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
575 182 13 0 $k == 1 and not abs $phi < $stability_constant
645 13 0 1 $p != 1 and $p != 2
13 0 1 $p != 1 and $p != 2 and $p != 3

or 2 conditions

line l !l condition
278 17 19 $w ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
396 2 2 11 $S >= $U or $S <= $D

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
429 6 2 2 0 $onetouch_up_prob xor $onetouch_down_prob