blib/lib/Finance/Bitcoin/Feed/Site/BtcChina/Socket.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 16 | 62.5 |
line | true | false | branch |
---|---|---|---|
64 | 0 | 0 | if (time - $self->last_ping_at > $self->ping_interval / 1000) |
77 | 0 | 4 | unless $data =~ /^\d+/ |
81 | 1 | 3 | if ($code == 0) { } |
1 | 2 | elsif ($code == 3) { } | |
1 | 1 | elsif ($code == 41) { } | |
1 | 0 | elsif ($code == 42) { } | |
86 | 1 | 0 | if $$json_data{'pingInterval'} |
88 | 1 | 0 | if $$json_data{'pingTimeout'} |