Branch Coverage

blib/lib/Router/Resource.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
36 1 4 if ($Router::Resource::ROUTER->{'auto_options'} and not $METHS{'OPTIONS'})
61 15 5 if (my $meth = $match->{'meth'})
65 3 2 unless my $missing = $self->{'missing'}
72 0 23 unless my $meth = uc($env->{'REQUEST_METHOD'} || '')
75 28 20 unless my $match = $route->match($env)
80 4 16 unless my $code = $meths->{$meth}