| blib/lib/Mojolicious/Plugin/PubSub/WebSocket.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 10 | 70.0 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 8 | 0 | unless $c->isa("psws_clients") |
| 31 | 0 | 0 | if exists $client->{'channel'} |
| 57 | 16 | 9 | if ($event eq "listen") |
| 62 | 20 | 5 | if (my $res_f = $syn->lookup->{$req->{'t'}}{'reply'}) |
| 64 | 3 | 17 | if ($event eq "notify") |