| line |
true |
false |
branch |
|
25
|
512 |
0 |
if $dynamic |
|
37
|
120 |
34 |
if (@_) |
|
41
|
0 |
120 |
if length $cookie->{'value'} > 4096 |
|
48
|
13 |
21 |
unless my $cookie = $self->req->cookie($name) |
|
56
|
0 |
0 |
unless defined $value |
|
77
|
0 |
0 |
if defined($decrypted = Mojo::Util::decrypt_cookie($value, $secret, $moniker)) |
|
79
|
0 |
0 |
if (defined $decrypted) { } |
|
92
|
84 |
307 |
if (exists $captures->{$name} and not $self->app->routes->is_reserved($name)) |
|
94
|
5 |
79 |
ref $value eq 'ARRAY' ? : |
|
100
|
9 |
298 |
@$uploads ? : |
|
111
|
67 |
9 |
if ($value =~ s/--([^\-]+)$//u) { } |
|
117
|
55 |
21 |
if Mojo::Util::secure_compare($signature, $check) |
|
119
|
55 |
12 |
if ($valid) { } |
|
135
|
7 |
2 |
$tx->established ? : |
|
|
9 |
26 |
if $tx->is_websocket |
|
138
|
4 |
2 |
@_ ? : |
|
|
6 |
20 |
if $tx->res->content->is_chunked |
|
141
|
2 |
18 |
@_ ? : |
|
149
|
75 |
18 |
if $tx->is_websocket and not $tx->established |
|
155
|
232 |
27 |
unless @_ |
|
156
|
2 |
25 |
@_ > 1 ? : |
|
164
|
87 |
919 |
@_ % 2 ? : |
|
165
|
87 |
919 |
if $template |
|
172
|
58 |
948 |
if exists $stash->{'layout'} |
|
173
|
2 |
1004 |
if exists $stash->{'extends'} |
|
176
|
577 |
429 |
if $ts or $maybe |
|
177
|
26 |
980 |
if $ts |
|
185
|
25 |
0 |
defined $output ? : |
|
|
25 |
961 |
if $ts |
|
186
|
188 |
3 |
$maybe ? : |
|
|
191 |
770 |
unless defined $output |
|
202
|
272 |
893 |
if $status |
|
206
|
1010 |
155 |
if (not $stash->{'mojo.finished'} and ++$stash->{'mojo.finished'}) |
|
208
|
659 |
114 |
unless $status or $res->code |
|
219
|
939 |
71 |
unless $stash->{'mojo.static'} |
|
234
|
1 |
104 |
unless $tx->is_websocket |
|
235
|
2 |
102 |
$cb ? : |
|
236
|
75 |
29 |
$tx->established ? : |
|
243
|
211 |
42 |
unless exists $stash->{'mojo.active_session'} |
|
247
|
212 |
41 |
unless @_ |
|
250
|
18 |
23 |
unless @_ > 1 or ref $_[0] |
|
253
|
0 |
23 |
ref $_[0] ? : |
|
263
|
257 |
74 |
unless defined $value |
|
276
|
20 |
636 |
if builtin::blessed($target) and $target->isa("Mojo::URL") |
|
277
|
21 |
615 |
if $target =~ /$ABSOLUTE/u |
|
286
|
451 |
164 |
if ($target =~ m[^/]u) { } |
|
287
|
30 |
421 |
if (defined(my $prefix = $self->stash->{'path'})) |
|
298
|
156 |
8 |
if $generated->{'path'} |
|
299
|
0 |
10 |
$base->protocol eq 'https' ? : |
|
|
10 |
154 |
if $generated->{'websocket'} |
|
312
|
1 |
20 |
$asset =~ /$ABSOLUTE/u ? : |
|
317
|
4 |
382 |
$file =~ /$ABSOLUTE/u ? : |
|
322
|
4 |
37 |
$cb ? : |
|
328
|
37 |
24 |
$cb ? : |
|
334
|
1 |
56 |
$cb ? : |