blib/lib/Math/Business/ATR.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
23 | 1 | 4 | if (defined $days) |
34 | 0 | 5 | if $arg <= 0 |
51 | 0 | 1124 | unless ref $point eq 'ARRAY' and @$point == 3 |
54 | 1119 | 5 | if (defined $y_close) { } |
60 | 110 | 1009 | if $B > $true_range |
61 | 123 | 996 | if $C > $true_range |
63 | 1065 | 54 | if (defined(my $atr = $$this{'ATR'})) { } |
69 | 4 | 50 | if (ref($p = $$this{'_p'}) and @$p >= $N - 1) { } |
86 | 0 | 5 | if exists $$this{'_p'} |