lib/Math/Business/BlackScholes/Binaries/Greeks/Vanna.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
88 | 7 | 6 | unless (defined $w) |
104 | 4 | 9 | $S > $U ? : |
171 | 7 | 6 | unless (defined $w) |
188 | 0 | 26 | unless (defined $eta) |
192 | 13 | 13 | if ($eta == 0) |
244 | 0 | 570 | if ($k == 1 and not abs 2 * $vol * $phi / $S < $stability_constant) |
261 | 0 | 26 | if (Math::Trig::sinh($alpha * $h) ** 2 == 0) { } |