Branch Coverage

blib/lib/Protocol/SocketIO/Path.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
26 1 6 unless $protocol_version and $protocol_version =~ /^\d+$/
29 0 6 unless $transport_type and $session_id or not $transport_type || $session_id
32 3 3 if ($transport_type)
33 1 2 unless grep {$transport_type eq $_;} @{$$self{'transports'};}
52 1 1 if defined $$self{'transport_type'} and defined $$self{'session_id'}