| blib/lib/Puncheur/Dispatcher/Lite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 24 | 37.5 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 2 | 0 | if (ref $dest eq 'CODE') { } |
| 39 | 0 | 0 | $base ? : |
| 40 | 0 | 0 | if defined $method |
| 44 | 0 | 2 | if ($method eq 'get') { } |
| 0 | 2 | elsif ($method eq 'post') { } | |
| 0 | 2 | elsif ($method eq 'delete_') { } | |
| 61 | 2 | 0 | unless $c |
| 64 | 2 | 0 | if (my($dest, $captured, $method_not_allowed) = $class->router->match($$env{'REQUEST_METHOD'}, $$env{'PATH_INFO'})) { } |
| 65 | 0 | 2 | if ($method_not_allowed) |
| 70 | 2 | 0 | if ($$dest{'code'}) { } |
| 78 | 0 | 2 | if ($@) |
| 79 | 0 | 0 | if ($class->can('handle_exception')) { } |