| blib/lib/Math/Business/RSI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 20 | 28 | 71.4 | 
| line | true | false | branch | 
|---|---|---|---|
| 30 | 4 | 1 | if (defined $alpha) | 
| 47 | 0 | 4 | if $@ | 
| 55 | 1 | 0 | if ($rm =~ /SMA/) | 
| 59 | 1 | 0 | if (my $d = $this->{'days'}) | 
| 70 | 1 | 0 | if ($rm =~ /EMA/) | 
| 74 | 1 | 0 | if (my $d = $this->{'days'}) | 
| 85 | 0 | 7 | if $arg <= 0 | 
| 97 | 11 | 2 | if ($this->{'U'}->isa('Math::Business::EMA')) { } | 
| 112 | 0 | 2527 | unless $this->{'days'} | 
| 114 | 3271 | 6 | if (defined $close_yesterday) | 
| 118 | 1619 | 1652 | if ($delta > 0) { } | 
| 1635 | 17 | elsif ($delta < 0) { } | |
| 131 | 3187 | 90 | if (defined(my $eu = $EMA_U->query)) | 
| 133 | 0 | 3187 | $ed == 0 ? : |