blib/lib/PocketIO/Resource.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 16 | 56.2 |
line | true | false | branch |
---|---|---|---|
51 | 1 | 7 | unless $method eq 'POST' or $method eq 'GET' |
59 | 1 | 6 | unless $path |
61 | 5 | 1 | if ($path->is_handshake) |
66 | 1 | 0 | unless $conn |
78 | 0 | 0 | unless (my $dispatch = eval { do { $transport->dispatch } }) |
112 | 0 | 2 | unless (eval { do { $self->_build_connection('on_connect', $cb, 'on_connect_args', [$env], $self->_on_connection_created($env, $respond)); 1 } }) |
148 | 0 | 2 | if (defined $jsonp) { } |
173 | 0 | 0 | unless exists $TRANSPORTS{$type} |