| blib/lib/Mojolicious/Plugin/Multiplex/Multiplexer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 26 | 92.3 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 0 | 3 | unless $tx->is_websocket |
| 32 | 1 | 8 | if (not defined $e) { } |
| 1 | 7 | elsif ($e eq 'error') { } | |
| 1 | 6 | elsif ($e eq 'message') { } | |
| 4 | 2 | elsif ($e eq 'status') { } | |
| 48 | 1 | 1 | !(defined $s || length $s) ? : |
| 1 | 2 | $s eq 'false' ? : | |
| 1 | 3 | $s eq 'true' ? : | |
| 52 | 1 | 3 | if ref $args[-1] |
| 65 | 1 | 1 | $payload ? : |
| 2 | 1 | defined $payload ? : | |
| 83 | 0 | 13 | unless my $tx = $self->tx |
| 84 | 1 | 12 | $cb ? : |