Branch Coverage

blib/lib/Finance/Bitcoin/Feed/Pusher.pm
Criterion Covered Total %
branch 3 62 4.8


line true false branch
80 1 3 if exists $args{$attribute}
87 0 0 unless $self->channels
88 0 0 unless $self->protocol
89 0 0 unless $self->app_key
90 0 0 unless $self->ssl
127 0 0 unless ($self->client->is_done)
132 0 0 if ($self->frame->is_ping)
142 0 0 unless (eval { do { $d = $self->json->decode($msg) } })
148 0 0 if ($$d{'event'} eq 'pusher:connection_established') { }
0 0 elsif ($$d{'event'} eq 'pusher_internal:subscription_succeeded') { }
0 0 elsif ($$d{'event'} eq 'trade') { }
0 0 elsif ($$d{'event'} eq 'data') { }
149 0 0 if VERBOSE()
151 0 0 if VERBOSE()
165 0 0 if VERBOSE()
170 0 0 if VERBOSE()
172 0 0 if ($$d{'channel'} eq 'live_trades') { }
176 0 0 if VERBOSE()
180 0 0 if VERBOSE()
182 0 0 if ($$d{'channel'} eq 'order_book') { }
186 0 0 if VERBOSE()
192 0 0 if VERBOSE()
203 0 0 if VERBOSE()
225 0 0 if VERBOSE() or DEBUG()
235 0 0 if VERBOSE() or DEBUG()
244 0 0 (shift())->ssl ? :
245 0 0 (shift())->ssl ? :
246 0 0 (shift())->ssl ? :
247 0 0 (shift())->ssl ? :
262 1 0 if $v
268 0 0 unless ($$self{'uri'})