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