Branch Coverage

blib/lib/Catalyst/ActionRole/Methods.pm
Criterion Covered Total %
branch 12 18 66.6


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