Branch Coverage

blib/lib/Catalyst/ActionRole/Methods.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
38 2 3 if ($code = $controller->action_for($rest_method)) { }
1 2 elsif ($code = $controller->can($rest_method)) { }
46 2 1 unless ($code)
68 1 1 unless $name
84 0 0 ref $controller ? :
86 0 0 /^$name\_(.+)$/ ? :
89 0 0 if $methods->{'GET'}