Branch Coverage

blib/lib/Catalyst/Plugin/RedirectTo.pm
Criterion Covered Total %
branch 6 14 42.8


line true false branch
32 0 1 if &Scalar::Util::blessed($action_proto)
37 1 0 if ($action_proto =~ m[/]) { }
38 1 0 $action_proto =~ m[^/] ? :
39 0 1 unless $path
40 0 1 unless $action = $c->dispatcher->get_action_by_path($path)
42 0 0 unless $action = $controller->action_for($action_proto)
45 0 1 unless $action