lib/Math/Business/BlackScholes/Binaries/Greeks/Theta.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
110 | 7 | 6 | unless (defined $w) |
124 | 4 | 9 | $S > $U ? : |
156 | 3 | 10 | if ($S >= $U or $S <= $D) |
160 | 5 | 5 | unless (defined $w) |
177 | 0 | 20 | unless (defined $eta) |
181 | 10 | 10 | if ($eta == 0) |
213 | 0 | 480 | if ($k == 1 and not abs $phi < $stability_constant) |
221 | 0 | 20 | if (Math::Trig::sinh($mu_dash * $h / ($vol * $vol)) == 0) { } |