line |
true |
false |
branch |
17
|
326 |
0 |
if $_[0]->conditions->{$_[1]} = $_[2] |
26
|
2 |
0 |
if $_[0]->types->{$_[1]} = $_[2] |
34
|
855 |
1038 |
unless my $field = $stack->[$position] |
43
|
601 |
437 |
if (my $cb = $field->{'cb'}) { } |
46
|
996 |
7 |
if $last or $continue |
52
|
896 |
66 |
@{$c->match->stack;} ? : |
64
|
8 |
56 |
unless $path =~ m[^/]u |
|
64 |
899 |
if (defined $path) { } |
70
|
1 |
962 |
if $override and $method eq "POST" |
71
|
9 |
954 |
if $method eq "HEAD" |
74
|
73 |
890 |
$c->tx->is_websocket ? : |
78
|
293 |
670 |
if (my $result = $cache->get("${method}:${path}:$ws")) |
84
|
66 |
604 |
unless my $route = $match->endpoint |
92
|
559 |
42 |
if $last |
101
|
64 |
373 |
if ref $field->{'app'} |
105
|
23 |
350 |
$field->{'controller'} ? : |
106
|
5 |
368 |
if ($field->{'app'}) { } |
|
0 |
368 |
elsif (defined(my $ns = $field->{'namespace'})) { } |
|
23 |
345 |
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 |
346 |
@classes ? : |
138
|
346 |
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 |
285 |
if $stash->{'mojo.rendered'} |
188
|
12 |
23 |
unless $c->render_maybe or $stash->{'mojo.routed'} |