| lib/Finance/Alpaca/DataStream.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 18 | 61.1 |
| line | true | false | branch |
|---|---|---|---|
| 41 | 2 | 2 | if ($msg->{'T'} eq 'success') { } |
| 0 | 2 | elsif ($msg->{'T'} eq 'error') { } | |
| 0 | 2 | elsif ($msg->{'T'} eq 't') { } | |
| 1 | 1 | elsif ($msg->{'T'} eq 'q') { } | |
| 0 | 1 | elsif ($msg->{'T'} eq 'b') { } | |
| 1 | 0 | elsif ($msg->{'T'} eq 'subscription') { } | |
| 42 | 1 | 1 | if ($msg->{'msg'} eq 'connected') { } |
| 1 | 0 | elsif ($msg->{'msg'} eq 'authenticated') { } | |
| 59 | 0 | 0 | if ($msg->{'code'} eq 406) |