Branch Coverage

blib/lib/SockJS/Middleware/JSessionID.pm
Criterion Covered Total %
branch 5 8 62.5


line true false branch
15 0 3 unless $env->{'sockjs.transport'}
23 2 1 if (my $cookie = $env->{'HTTP_COOKIE'}) { }
1 0 elsif ($self->{'cookie'}) { }
24 2 0 if ($cookie =~ /(?:^|;|\s)JSESSIONID\s*=\s*(.+?)(?:\s|;|$)/)