Branch Coverage

blib/lib/Catalyst/Plugin/RedirectTo.pm
Criterion Covered Total %
branch 9 22 40.9


line true false branch
28 0 4 unless $url
37 0 1 if (&Scalar::Util::blessed($action_proto))
39 0 0 unless $url
45 0 1 if ($c->can('uri')) { }
50 1 0 if ($action_proto =~ m[/]) { }
51 1 0 $action_proto =~ m[^/] ? :
52 0 1 unless $path
53 0 1 unless $action = $c->dispatcher->get_action_by_path($path)
55 0 0 unless $action = $controller->action_for($action_proto)
58 0 1 unless $action
60 0 1 unless $url