Condition Coverage

blib/lib/Protocol/WebSocket/URL.pm
Criterion Covered Total %
condition 9 13 69.2


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 31 defined $host and $host ne ''
44 17 0 14 defined $pnq and $pnq ne ''

or 2 conditions

line l !l condition
13 53 159 $self->{'secure'} ||= 0
60 137 44 $self->resource_name || '/'

or 3 conditions

line l !l&&r !l&&!r condition
39 11 20 0 $port ||= $self->secure ? 443 : 80