lib/Catalyst/Action/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
108 | 11 | 20 | if ($code = $controller->action_for($rest_method)) { } |
11 | 9 | elsif ($code = $controller->can($rest_method)) { } | |
116 | 9 | 11 | unless ($code) |
138 | 3 | 6 | unless $name |
154 | 5 | 0 | ref $controller ? : |
156 | 7 | 583 | /^$name\_(.+)$/ ? : |
159 | 4 | 1 | if $methods->{'GET'} |