blib/lib/Tatsumaki/MessageQueue.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
44 | 5 | 2 | if ($$client{'cv'}->cb) { } |
60 | 0 | 9 | unless my $client = $self->clients->{$client_id} |
67 | 0 | 9 | if ($$client{'persistent'}) { } |
79 | 0 | 0 | if (/Tatsumaki::Error::ClientDisconnect/) |
96 | 0 | 9 | if ($$client{'longpoll_timer'}) |
107 | 8 | 1 | unless defined $timeout |
114 | 7 | 2 | if ($is_new) { } |
2 | 0 | elsif (@{$$client{'buffer'};}) { } | |
117 | 1 | 6 | if @events |
135 | 0 | 0 | if @events |