| blib/lib/CatalystX/CRUD/REST.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 28 | 60.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 205 | 1 | 1 | 2 | $self->enable_rpc_compat and exists $related_methods{$rpc} |
| 274 | 4 | 9 | 4 | length $oid and $rpc |
| 275 | 1 | 0 | 3 | $self->enable_rpc_compat and exists $rpc_methods{$rpc} |
| 1 | 0 | 0 | $self->enable_rpc_compat and $http_method eq "GET" | |
| 1 | 0 | 0 | $self->enable_rpc_compat && exists $rpc_methods{$rpc} | |
| 296 | 12 | 0 | 4 | not length $oid and $http_method eq "GET" |
| 470 | 6 | 0 | 0 | defined $c->res->location and length $c->res->location |
| line | l | !l | condition |
|---|---|---|---|
| 263 | 13 | 4 | shift @arg || '' |
| 267 | 0 | 0 | $rpc || '[undef]' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 215 | 1 | 0 | 1 | $http_method eq "POST" or $http_method eq "PUT" |