line |
true |
false |
branch |
125
|
20 |
10 |
unless $self->request_for($app, $route->{'path'}, @{$$route{'methods'};}) |
150
|
6 |
24 |
unless (_is_the_right_method($request_method, @methods)) |
154
|
14 |
10 |
unless (_is_the_right_path($request_path, $path)) |
164
|
1 |
11 |
unless my $methods = shift() |
167
|
2 |
9 |
ref $methods ? : |
169
|
1 |
10 |
unless my $path = shift() |
171
|
1 |
9 |
unless my $subref = shift() |
179
|
1 |
29 |
if ($method eq 'HEAD') |
183
|
26 |
8 |
unless lc $_ eq 'any' |
|
24 |
6 |
grep({/^\Q$method\E$/i unless lc $_ eq 'any';} @methods) ? : |
191
|
5 |
19 |
if (ref $expected_path) |
192
|
1 |
4 |
$got_path =~ /$expected_path/ ? : |
194
|
3 |
16 |
if ($expected_path =~ /\:/) |
196
|
1 |
2 |
$got_path =~ /^$expected_path$/ ? : |
198
|
8 |
8 |
$got_path eq $expected_path ? : |