Branch Coverage

blib/lib/SockJS/Middleware/Cors.pm
Criterion Covered Total %
branch 5 10 50.0


line true false branch
23 1 0 unless defined $origin
25 1 0 $origin eq '' ? :
32 0 1 if (my $request_headers = $env->{'HTTP_ACCESS_CONTROL_REQUEST_HEADERS'})
39 0 1 if (my $allowed_methods = $env->{'sockjs.allowed_methods'})
44 0 1 if ($env->{'sockjs.cacheable'})