blib/lib/Net/HTTP/Spore/Middleware/Format.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 12 | 58.3 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 10 | if (exists $env->{$key} and $env->{$key} == 1) { } |
41 | 0 | 5 | unless $self->should_serialize($req->env) |
45 | 1 | 4 | if ($req->env->{'spore.payload'}) |
56 | 5 | 0 | if ($res->body) |
57 | 0 | 5 | if $res->code >= 500 |
58 | 0 | 5 | unless $self->should_deserialize($res->env) |