Branch Coverage

blib/lib/SockJS/Transport/HtmlFile.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
24 1 4 unless ($callback)
29 1 3 unless ($callback =~ /^[a-zA-Z0-9-_\.]+$/)
48 1 2 if ($conn->is_connected and not $conn->is_reconnecting)
65 0 2 if ($limit <= 0)
92 0 2 if ($conn->is_closed) { }
0 2 elsif ($conn->is_connected) { }