| line |
true |
false |
branch |
|
258
|
61 |
238 |
if ($sigma == 0 or $term == 0 or $adj_market == 0 or $strike <= 0) { } |
|
259
|
38 |
23 |
if ($seyt > $xert) { } |
|
260
|
19 |
19 |
$put ? : |
|
263
|
9 |
14 |
$put ? : |
|
272
|
124 |
114 |
$put ? : |
|
280
|
0 |
141 |
if @_ < 6 |
|
283
|
0 |
141 |
unless $market >= 0 |
|
284
|
5 |
136 |
if ($sigma < 0) |
|
288
|
5 |
136 |
unless $strike >= 0 |
|
289
|
0 |
141 |
unless $term >= 0 |
|
290
|
5 |
136 |
unless $interest >= 0 |
|
292
|
15 |
126 |
if (ref $yield) { } |
|
|
19 |
107 |
elsif (not defined $yield) { } |
|
295
|
7 |
16 |
unless ($when >= 0) |
|
296
|
7 |
0 |
unless ($warned++) |
|
307
|
5 |
136 |
unless $adj_yield >= 0 |
|
308
|
4 |
137 |
if @_ > 7 |
|
312
|
136 |
5 |
if $sx > 0 |
|
322
|
2 |
42 |
if ($_[0] < 0) |
|
330
|
2 |
41 |
if ($_[0] < 0) |
|
338
|
1 |
21 |
if ($_[0] < 0) |
|
350
|
1 |
2 |
unless defined $days |
|
352
|
0 |
3 |
if (@close < 10) |
|
369
|
1 |
19 |
if ($_[0] < 0) |
|
378
|
1 |
18 |
if ($_[0] < 0) |
|
393
|
8 |
29 |
unless defined $yield |
|
394
|
0 |
37 |
if (@_ > 7) |
|
398
|
2 |
35 |
if defined $tol |
|
399
|
35 |
2 |
unless defined $tol |
|
401
|
0 |
37 |
unless $market > 0 |
|
403
|
0 |
37 |
unless $strike > 0 |
|
405
|
0 |
37 |
unless $term > 0 |
|
406
|
0 |
37 |
unless $option_price > 0 |
|
414
|
0 |
0 |
wantarray ? : |
|
|
0 |
37 |
if $price_low > $option_price |
|
415
|
1 |
1 |
wantarray ? : |
|
|
18 |
19 |
$put ? : |
|
|
2 |
35 |
if $option_price > ($put ? $xert : $seyt) |
|
424
|
35 |
31 |
if $price_high > $option_price - $tol |
|
429
|
3 |
32 |
unless defined $pipi |
|
434
|
17 |
94 |
if $done and not wantarray |
|
435
|
38 |
56 |
if ($diff > 0) { } |
|
441
|
93 |
1 |
defined $d1 ? : |
|
443
|
0 |
17 |
$vega == 0 ? : |
|
|
17 |
77 |
if $done |
|
444
|
1 |
76 |
if $vega == 0 |
|
446
|
6 |
70 |
if $sigma < $sigma_low |
|
447
|
0 |
76 |
if $diff > 0 and $sigma > 0.5 * ($sigma_low + $sigma_high) |
|
449
|
0 |
76 |
if $n >= $Math::Business::BlackScholes::max_iter |
|
461
|
1 |
15 |
if (abs $option_price - $price < $tol) |
|
463
|
0 |
1 |
wantarray ? : |
|
466
|
9 |
6 |
if ($price > $option_price) { } |