line |
true |
false |
branch |
40
|
3 |
58 |
if ref $res eq 'ARRAY' and @{$res;} == 1 and ref $res->[0] eq 'CODE' |
48
|
4 |
641 |
if ref $try eq 'ARRAY' |
49
|
94 |
547 |
if (ref $try eq 'HASH') |
55
|
90 |
448 |
unless @result and defined $result[0] |
59
|
249 |
197 |
if (my $res = $self->_have_result($first, \@result, \@match, $env)) |
75
|
234 |
214 |
if (ref $first eq 'ARRAY') { } |
|
7 |
207 |
elsif (&blessed($first) and $first->isa('Plack::Middleware')) { } |
|
5 |
202 |
elsif (ref $first eq 'HASH' and $$first{MAGIC_MIDDLEWARE_KEY()}) { } |
|
5 |
198 |
elsif (&blessed($first) and not $first->can('to_app') and not $first->isa('Web::Dispatch::Matcher')) { } |
97
|
2 |
5 |
if @{$results;} > 1 |
123
|
490 |
57 |
if (ref $try eq 'CODE') { } |
|
4 |
53 |
elsif (not ref $try and ref $more->[0] eq 'CODE' || $more->[0] && !ref($more->[0]) && $self->dispatch_object && $self->dispatch_object->can($more->[0])) { } |
|
42 |
11 |
elsif (&blessed($try) and $try->isa('Web::Dispatch::Matcher') and ref $more->[0] eq 'CODE') { } |
|
7 |
4 |
elsif (&blessed($try) and $try->can('to_app')) { } |
124
|
134 |
356 |
if (defined(my $proto = prototype $try)) { } |
149
|
138 |
42 |
unless ref $args{'match'} |
150
|
179 |
1 |
if (my $obj = $self->dispatch_object) |