blib/lib/Catalyst/ActionRole/HTTPMethods.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 6 | 66.6 |
line | true | false | branch |
---|---|---|---|
7 | 0 | 58 | unless +(shift())->attributes->{'Method'} |
11 | 0 | 58 | unless scalar(my(@allowed) = $self->allowed_http_methods) |
12 | 38 | 20 | scalar grep({lc $_ eq lc $expected;} @allowed) ? : |