| blib/lib/Math/Business/SM/Stochastic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 38 | 68 | 55.8 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 133 | 0 | 0 | 0 | ref $point eq 'ARRAY' and @$point == 3 | 
| 185 | 0 | 0 | 30 | ref $point eq 'ARRAY' and @$point == 3 | 
| 223 | 0 | 0 | 30 | ref $point eq 'ARRAY' and @$point == 3 | 
| 263 | 0 | 0 | 30 | ref $point eq 'ARRAY' and @$point == 3 | 
| line | l | !l | condition | 
|---|---|---|---|
| 20 | 1 | 0 | $_[0] || 14 | 
| 1 | 0 | $_[1] || 3 | |
| 21 | 1 | 0 | $_[0] || 14 | 
| 1 | 0 | $_[1] || 3 | |
| 22 | 1 | 0 | $_[0] || 14 | 
| 1 | 0 | $_[1] || 3 | |
| 1 | 0 | $_[2] || 3 | |
| 26 | 3 | 0 | shift() || 0 | 
| 27 | 3 | 0 | shift() || 5 | 
| 28 | 3 | 0 | shift() || 3 | 
| 29 | 1 | 2 | shift() || 3 | 
| 126 | 0 | 0 | $this->{'low_hist'} ||= [] | 
| 127 | 0 | 0 | $this->{'high_hist'} ||= [] | 
| 176 | 29 | 1 | $this->{'low_hist'} ||= [] | 
| 177 | 29 | 1 | $this->{'high_hist'} ||= [] | 
| 213 | 29 | 1 | $this->{'low_hist'} ||= [] | 
| 214 | 29 | 1 | $this->{'high_hist'} ||= [] | 
| 252 | 29 | 1 | $this->{'low_hist'} ||= [] | 
| 253 | 29 | 1 | $this->{'high_hist'} ||= [] | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 181 | 29 | 1 | 0 | $this->{'dsma'} ||= 'Math::Business::SMA'->new($dp) | 
| 218 | 29 | 1 | 0 | $this->{'dsma'} ||= 'Math::Business::SMA'->new($dp) | 
| 219 | 29 | 1 | 0 | $this->{'ksma'} ||= 'Math::Business::SMA'->new($dp) | 
| 256 | 30 | 0 | 0 | $this->{'xp'} || $this->{'dp'} | 
| 258 | 29 | 1 | 0 | $this->{'dsma'} ||= 'Math::Business::SMA'->new($xp) | 
| 259 | 29 | 1 | 0 | $this->{'ksma'} ||= 'Math::Business::SMA'->new($xp) |