Condition Coverage

blib/lib/Protocol/SocketIO/Path.pm
Criterion Covered Total %
condition 10 17 58.8


and 3 conditions

line !l l&&!r l&&r condition
26 1 0 6 $protocol_version and $protocol_version =~ /^\d+$/
29 3 0 3 $transport_type and $session_id
53 0 1 1 defined $self->{'transport_type'} and defined $self->{'session_id'}

or 2 conditions

line l !l condition
12 0 7 $self->{'transports'} ||= ['websocket', 'flashsocket', 'htmlfile', 'xhr-polling', 'jsonp-polling']

or 3 conditions

line l !l&&r !l&&!r condition
29 0 0 3 $transport_type || $session_id
3 3 0 $transport_type and $session_id or not $transport_type || $session_id