| line |
true |
false |
branch |
|
26
|
27 |
0 |
if $dynamic |
|
39
|
4 |
547 |
ref $_[0] eq 'ARRAY' ? : |
|
51
|
189 |
98 |
if exists $self->{'has_websocket'} |
|
55
|
676 |
17123 |
$_[0]->inline ? : |
|
63
|
2855 |
997 |
unless @_ |
|
64
|
551 |
446 |
ref $_[0] ? : |
|
65
|
450 |
547 |
if @$methods |
|
71
|
1636 |
66 |
unless @_ |
|
92
|
1010 |
2 |
unless my $parent = $self->parent |
|
109
|
2467 |
1015 |
unless @_ |
|
110
|
1009 |
6 |
ref $_[0] eq 'ARRAY' ? : |
|
111
|
994 |
21 |
unless @$conditions |
|
123
|
67 |
31 |
unless my(@via) = @{$route->methods // [];} |
|
124
|
2 |
29 |
keys %via ? : |
|
127
|
8 |
40 |
if $via{'POST'} and not $via{'GET'} |
|
128
|
15 |
25 |
$via{'GET'} ? : |
|
135
|
2 |
1522 |
unless @_ |
|
138
|
379 |
1143 |
if ($shortcut) |
|
141
|
5 |
374 |
if (ref $shortcut or $shortcut =~ /^[\w:]+$/u) { } |
|
|
374 |
0 |
elsif ($shortcut =~ /^([\w\-:]+)?\#(\w+)?$/u) { } |
|
145
|
348 |
26 |
if defined $1 |
|
146
|
358 |
16 |
if defined $2 |
|
180
|
957 |
574 |
if (not ref $arg || $pattern) { } |
|
|
16 |
558 |
elsif (not ref $arg and @args) { } |
|
|
50 |
508 |
elsif (not ref $arg) { } |
|
|
312 |
196 |
elsif (ref $arg eq 'CODE') { } |
|
|
76 |
120 |
elsif (ref $arg eq 'ARRAY') { } |
|
|
120 |
0 |
elsif (ref $arg eq 'HASH') { } |
|
199
|
17 |
991 |
$methods eq 'under' ? : |
|
201
|
50 |
958 |
defined $name ? : |
|
210
|
89 |
1205 |
if ($child->has_custom_name) { } |
|
224
|
0 |
1008 |
if grep {$self->is_reserved($_);} @{$new_pattern->placeholders;} |
|
228
|
11 |
997 |
if exists $constraints->{'format'} |
|
230
|
5 |
1003 |
if exists $defaults->{'format'} |