| blib/lib/PAGI/Middleware/Rewrite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 16 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 67 | 0 | 4 | if ($scope->{'type'} ne "http") |
| 76 | 1 | 3 | if ($new_path eq $path) |
| 82 | 1 | 2 | if ($self->{'redirect'}) |
| 84 | 0 | 1 | if (defined $scope->{'query_string'} and $scope->{'query_string'} ne "") |
| 109 | 1 | 3 | if (ref $from eq 'Regexp') { } |
| 110 | 1 | 0 | if ($path =~ /$from/) |
| 120 | 2 | 1 | if ($path eq $from) |
| 124 | 0 | 1 | if ($path =~ m[^\Q$from\E(/.*)?$]) |