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