| line |
true |
false |
branch |
|
17
|
323 |
0 |
if $_[0]->conditions->{$_[1]} = $_[2] |
|
26
|
2 |
0 |
if $_[0]->types->{$_[1]} = $_[2] |
|
34
|
852 |
1035 |
unless my $field = $stack->[$position] |
|
43
|
601 |
434 |
if (my $cb = $field->{'cb'}) { } |
|
46
|
993 |
7 |
if $last or $continue |
|
52
|
893 |
62 |
@{$c->match->stack;} ? : |
|
64
|
8 |
56 |
unless $path =~ m[^/]u |
|
|
64 |
892 |
if (defined $path) { } |
|
70
|
1 |
955 |
if $override and $method eq "POST" |
|
71
|
9 |
947 |
if $method eq "HEAD" |
|
74
|
73 |
883 |
$c->tx->is_websocket ? : |
|
78
|
293 |
663 |
if (my $result = $cache->get("${method}:${path}:$ws")) |
|
84
|
62 |
601 |
unless my $route = $match->endpoint |
|
92
|
559 |
42 |
if $last |
|
101
|
64 |
370 |
if ref $field->{'app'} |
|
105
|
23 |
347 |
$field->{'controller'} ? : |
|
106
|
5 |
365 |
if ($field->{'app'}) { } |
|
|
0 |
365 |
elsif (defined(my $ns = $field->{'namespace'})) { } |
|
|
23 |
342 |
elsif ($class) { } |
|
110
|
0 |
0 |
unless $class |
|
111
|
0 |
0 |
$ns ? : |
|
122
|
15 |
24 |
unless defined(my $found = $self->_load($class)) |
|
123
|
2 |
22 |
unless $found |
|
130
|
1 |
343 |
@classes ? : |
|
138
|
343 |
86 |
unless ($new = $self->_class($old, $field)) |
|
143
|
72 |
14 |
if ($new->isa('Mojolicious')) { } |
|
|
14 |
0 |
elsif (my $method = $field->{'action'}) { } |
|
147
|
72 |
0 |
if (my $sub = $new->can("routes")) |
|
149
|
17 |
55 |
unless $r->parent |
|
159
|
12 |
2 |
if (my $sub = $new->can($method)) { } |
|
160
|
10 |
2 |
if $last |
|
161
|
2 |
5 |
if _action($old->app, $new, $sub, $last) |
|
176
|
14 |
27 |
if $self->{'loaded'}{$app} |
|
177
|
2 |
15 |
ref $e ? : |
|
|
17 |
10 |
if (my $e = load_class($app)) |
|
180
|
2 |
8 |
unless &first(sub {
$app->isa($_);
}
, @{$self->base_classes;}) |
|
187
|
570 |
282 |
if $stash->{'mojo.rendered'} |
|
188
|
12 |
23 |
unless $c->render_maybe or $stash->{'mojo.routed'} |