Branch Coverage

lib/Finance/Alpaca/TradeStream.pm
Criterion Covered Total %
branch 7 10 70.0


line true false branch
47 1 3 if ($msg->{'stream'} eq 'authorization') { }
1 2 elsif ($msg->{'stream'} eq 'listening') { }
2 0 elsif ($msg->{'stream'} eq 'trade_updates') { }
48 1 0 if ($msg->{'data'}{'status'} eq 'authorized')
82 1 0 $paper ? :