blib/lib/Router/Resource.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
36 | 1 | 4 | if ($$ROUTER{'auto_options'} and not $METHS{'OPTIONS'}) |
60 | 14 | 5 | if (my $meth = $$match{'meth'}) |
63 | 3 | 2 | unless my $missing = $$self{'missing'} |
71 | 0 | 22 | unless my $meth = uc($$env{'REQUEST_METHOD'} || '') |
74 | 26 | 19 | unless my $match = $route->match($env) |
79 | 4 | 15 | unless my $code = $$meths{$meth} |