blib/lib/Web/MREST/Resource.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 22 | 63.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
210 | 1 | 26 | 2 | @ARGS and ref $ARGS[0] eq 'App::CELL::Status' |
385 | 20 | 0 | 49 | ref $Web::MREST::Resource::router and $Web::MREST::Resource::router->can('match') |
line | l | !l | condition |
---|---|---|---|
293 | 0 | 1 | $dsc || 'undefined' |
1 | 0 | $arg || 'undefined' | |
429 | 68 | 0 | $Web::MREST::Resource::site->MREST_SUPPORTED_HTTP_METHODS || ['GET', 'POST', 'PUT', 'DELETE'] |
450 | 67 | 0 | $Web::MREST::Resource::site->MREST_MAX_LENGTH_URI || 100 |
794 | 10 | 31 | $body_len || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
634 | 2 | 0 | 11 | $content_type eq '<NONE>' or $content_length eq '<NONE>' |
1055 | 0 | 0 | 1 | ref $status eq 'SCALAR' or $self->context->{'handler_status'}->not_ok |