| 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 | 
| 172 | 0 | 0 | 30 | ref $point eq 'ARRAY' and @$point == 3 | 
| 210 | 0 | 0 | 30 | ref $point eq 'ARRAY' and @$point == 3 | 
| 250 | 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'} ||= [] | 
| 163 | 29 | 1 | $$this{'low_hist'} ||= [] | 
| 164 | 29 | 1 | $$this{'high_hist'} ||= [] | 
| 200 | 29 | 1 | $$this{'low_hist'} ||= [] | 
| 201 | 29 | 1 | $$this{'high_hist'} ||= [] | 
| 239 | 29 | 1 | $$this{'low_hist'} ||= [] | 
| 240 | 29 | 1 | $$this{'high_hist'} ||= [] | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 168 | 29 | 1 | 0 | $$this{'dsma'} ||= 'Math::Business::SMA'->new($dp) | 
| 205 | 29 | 1 | 0 | $$this{'dsma'} ||= 'Math::Business::SMA'->new($dp) | 
| 206 | 29 | 1 | 0 | $$this{'ksma'} ||= 'Math::Business::SMA'->new($dp) | 
| 243 | 30 | 0 | 0 | $$this{'xp'} || $$this{'dp'} | 
| 245 | 29 | 1 | 0 | $$this{'dsma'} ||= 'Math::Business::SMA'->new($xp) | 
| 246 | 29 | 1 | 0 | $$this{'ksma'} ||= 'Math::Business::SMA'->new($xp) |