Condition Coverage

blib/lib/Net/WebSocket/Handshake/Client.pm
Criterion Covered Total %
condition 4 12 33.3


and 3 conditions

line !l l&&!r l&&r condition
83 0 0 4 $opts{'uri_schema'} and grep {$_ eq $opts{'uri_schema'};} ('ws', 'wss', 'http', 'https')
168 0 3 0 defined $path and length $path
172 3 0 0 defined $self->{'uri_query'} and length $self->{'uri_query'}

or 3 conditions

line l !l&&r !l&&!r condition
93 0 4 0 $opts{'key'} ||= _create_key()