line |
true |
false |
branch |
13
|
0 |
3 |
if (defined $self->controller and $self->controller->can('begin')) |
19
|
0 |
3 |
if (defined $self->controller and $self->controller->can('end')) |
37
|
0 |
3 |
if ($actionclass) |
42
|
0 |
3 |
if (my $auto = $self->auto_chain->{ref $controller}) |
44
|
0 |
0 |
if $$_{'line'} < $line |
68
|
0 |
0 |
if ($$dispatch{$path} and $match = $$dispatch{$path}{$method} and not $$dispatch{$path}{$method}{'chain'}) |
84
|
0 |
0 |
if ($$dispatch{$this} and $match = $$dispatch{$this}{$method} and not $$dispatch{$this}{$method}{'chain'}) |
97
|
0 |
3 |
if (my $indexes = $$dispatch{'chains_index'}) |
105
|
0 |
0 |
$return && $return == 1 ? : |
108
|
0 |
0 |
if ($$self{'chain_action'}) |
124
|
1 |
2 |
if ($$dispatch{'regex'}) |
129
|
0 |
1 |
if ($path =~ /$$this{'regex'}/) |
130
|
0 |
0 |
unless grep /$method/, @{$$this{'methods'};} |
135
|
0 |
0 |
if ($oldstrength eq '' or $strength < $oldstrength) |
144
|
0 |
1 |
if ($match) |
156
|
0 |
3 |
if ($self->app->can('notfound')) { } |
174
|
0 |
0 |
$add_namespace ? : |
180
|
0 |
0 |
if ($args) { } |
186
|
0 |
0 |
if (my($newpath) = $path =~ /$regex/) |
187
|
0 |
0 |
unless my $match = $$dispatch{$$thisChain{'path'}}{$self->method} |
191
|
0 |
0 |
if ($args) |
200
|
0 |
0 |
if not $next_chain and $newpath and !$args || $args && @captures |
204
|
0 |
0 |
unless $next_chain |
209
|
0 |
0 |
$nextnamespace ne $$thisChain{'namespace'} ? : |
211
|
0 |
0 |
if ($return and $return == 1) |
234
|
0 |
0 |
if (@_) { } |
|
0 |
0 |
elsif ($$match{'captures'}) { } |
250
|
0 |
0 |
if ($self->debug and @captures) |
263
|
0 |
0 |
if (@captures and ref $$match{'args'} eq 'ARRAY') |
278
|
0 |
3 |
if (ref $method eq 'CODE') |
279
|
0 |
0 |
ref $args eq 'HASH' ? : |
292
|
0 |
0 |
if (ref $method ne 'CODE') |