line |
true |
false |
branch |
25
|
0 |
1 |
if int $k <= 0 |
26
|
0 |
1 |
if int $d <= 0 |
27
|
0 |
1 |
if int $sd <= 0 |
43
|
0 |
22 |
unless $$this{'days'} |
44
|
0 |
22 |
unless defined $close |
45
|
0 |
22 |
unless $high >= $low |
46
|
0 |
22 |
unless $low <= $close |
47
|
0 |
22 |
unless $high >= $close |
62
|
0 |
0 |
unless ref $$this{'val_high'} eq 'ARRAY' |
63
|
0 |
0 |
unless ref $$this{'val_low'} eq 'ARRAY' |
64
|
0 |
0 |
unless ref $$this{'val'} eq 'ARRAY' |
65
|
0 |
0 |
unless @{$$this{'val_high'};} == @{$$this{'val'};} |
66
|
0 |
0 |
unless @{$$this{'val_low'};} == @{$$this{'val'};} |
78
|
18 |
4 |
if ($$this{'k'} <= @{$$this{'val'};}) |
88
|
16 |
6 |
if ($$this{'k'} + $$this{'d'} - 1 <= @{$$this{'val'};}) |
93
|
22 |
0 |
if (not defined $$this{'val_max_minus_min'}[-1] or $$this{'val_max_minus_min'}[-1] > 0) { } |
94
|
14 |
8 |
if (@{$$this{'val'};} == $$this{'days'}) { } |
|
2 |
6 |
elsif (@{$$this{'val'};} >= $$this{'days'} - $$this{'sd'} + 1) { } |
|
2 |
4 |
elsif (@{$$this{'val'};} >= $$this{'days'} - $$this{'sd'} - $$this{'d'} + 2) { } |