blib/lib/Role/REST/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 21 | 47.6 |
line | l | !l | condition |
---|---|---|---|
200 | 7 | 1 | $data and scalar keys %$data |
214 | 0 | 4 | $data && scalar keys %$data |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
179 | 0 | 0 | 3 | $deserializer and $content |
line | l | !l | condition |
---|---|---|---|
180 | 3 | 0 | $content ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
115 | 0 | 0 | 0 | $res->{'reason'} || &status_message($code) |
135 | 3 | 0 | 0 | $type ||= $self->type |
138 | 2 | 1 | 0 | $self->{'serializer'}{$type} ||= $self->new_serializer('type', $type) |
175 | 2 | 1 | 0 | $args->{'deserializer'} || $res->header('Content-Type') |