lib/UR/Service/UrlRouter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
33 | 13 | 0 | unless $self->verbose |
50 | 1 | 7 | ref $rv ? : |
53 | 5 | 8 | if (my $ref = ref $path) { } |
5 | 3 | elsif ($env->{'PATH_INFO'} eq $path) { } | |
54 | 2 | 3 | if ($ref eq 'Regexp' and my(@matches) = $env->{'PATH_INFO'} =~ /$path/) { } |
1 | 3 | elsif ($ref eq 'CODE' and &$path($env)) { } |