blib/lib/Net/Async/WebSocket/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
24 | 3 | 0 | unless (eval { do { require URI::wss } }) |
41 | 3 | 0 | unless 'URI::wss'->can('resource_name') |
117 | 2 | 0 | if ($hs->is_done) |
170 | 1 | 0 | if (my $url = $params{'url'}) |
171 | 1 | 0 | unless &blessed($url) and $url->isa('URI') |
176 | 0 | 1 | if ($url->secure) |
191 | 0 | 1 | if $on_connected |
193 | 1 | 0 | if defined wantarray |