Branch Coverage

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')
118 2 0 if ($hs->is_done)
176 1 0 if (my $url = $params{'url'})
177 1 0 unless &blessed($url) and $url->isa('URI')
182 0 1 if ($url->secure)
197 0 1 if $on_connected
199 1 0 if defined wantarray