Branch Coverage

blib/lib/SockJS/Transport/JSONPPolling.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
21 1 5 unless ($callback)
26 1 4 unless ($callback =~ /^[a-zA-Z0-9-_\.]+$/)
41 1 3 if ($conn->is_connected and not $conn->is_reconnecting)
60 3 0 if $conn->is_connected
64 1 2 if ($conn->is_closed) { }
0 2 elsif ($conn->is_connected) { }