Condition Coverage

blib/lib/Net/WebSocket/Handshake/Client.pm
Criterion Covered Total %
condition 2 6 33.3


and 3 conditions

line !l l&&!r l&&r condition
71 0 0 2 $opts{'uri_schema'} and $opts{'uri_schema'} =~ /\A(?:ws|http)s?\z/

or 3 conditions

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