| line |
true |
false |
branch |
|
30
|
0 |
5 |
if (ref $path eq 'ARRAY') { } |
|
|
0 |
5 |
elsif ($type eq 'any') { } |
|
45
|
0 |
5 |
if ($type eq 'route') |
|
50
|
0 |
0 |
ref $$hash{'method'} eq 'ARRAY' ? : |
|
51
|
0 |
0 |
if not $$hash{'method'} or $$hash{'method'} eq 'any' |
|
53
|
0 |
0 |
if ($controller =~ s/^\+//g) { } |
|
59
|
0 |
0 |
unless ($controller =~ /(Controllers::|Plugins::)/i) |
|
68
|
1 |
4 |
if (ref $path eq 'Regexp') { } |
|
|
1 |
3 |
elsif ($path =~ m[^/]) { } |
|
76
|
3 |
0 |
if ($namespace) { } |
|
99
|
0 |
0 |
if (ref $rule eq 'CODE') |
|
107
|
1 |
4 |
if (ref $nPath eq 'Regexp' or ref $path eq 'Regexp') { } |
|
118
|
0 |
4 |
if ($$actions{$first_method}) { } |
|
126
|
0 |
4 |
if ($$dispatch{$nPath}) { } |