Branch Coverage

blib/lib/Finance/Bitcoin/Feed/Site/CoinSetter.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
23 1 2 unless ($tx->success)
42 1 1 unless ($tx->is_websocket)
104 0 2 unless @pieces
113 0 2 if ($id)
115 0 0 if ($pieces[3]) { }
124 0 2 if ($$packet{'type'} eq 'error') { }
0 2 elsif ($$packet{'type'} eq 'message') { }
1 1 elsif ($$packet{'type'} eq 'event') { }
0 1 elsif ($$packet{'type'} eq 'json') { }
1 0 elsif ($$packet{'type'} eq 'connect') { }
0 0 elsif ($$packet{'type'} eq 'ack') { }
0 0 elsif ($$packet{'type'} eq 'heartbeat') { }
0 0 elsif ($$packet{'type'} eq 'disconnect') { }