blib/lib/MojoMojo/Formatter/Redirect.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 6 | 50.0 |
line | true | false | branch |
---|---|---|---|
38 | 2 | 124 | if (my($page) = $$content =~ / \{\{ \s*redirect\s+ (\S+) \s*}}/x) |
44 | 2 | 0 | if ($c->action->name eq 'view' and not $c->ajax) { } |
0 | 0 | elsif ($c->action->name eq 'render') { } |