blib/lib/Router/Boom/Method.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 12 | 100.0 |
line | true | false | branch |
---|---|---|---|
22 | 3 | 2 | if (defined $method and not ref $method) |
26 | 4 | 1 | unless ($self->{'path_seen'}{$path}++) |
47 | 1 | 10 | unless defined $matcher |
50 | 5 | 7 | if $m eq $request_method |
60 | 9 | 1 | if (my($patterns, $captured) = $self->{'router'}->match($path)) { } |
63 | 6 | 5 | if (_method_match($request_method, $pattern->[0])) |