blib/lib/HTTP/Engine/ResponseFinalizer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 17 | 35.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
18 | 6 | 0 | 0 | &Scalar::Util::blessed(scalar $res->body) and $res->body->can('read') |
45 | 0 | 6 | 0 | $res->protocol and $res->protocol =~ /1\.1/ |
6 | 0 | 0 | $res->protocol and $res->protocol =~ /1\.1/ and not !!$res->header('Connection') | |
49 | 0 | 6 | 0 | defined $req->method and $req->method eq 'HEAD' |
line | l | !l | condition |
---|---|---|---|
69 | 0 | 1 | $val->{'secure'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
18 | 0 | 0 | 6 | &Scalar::Util::blessed(scalar $res->body) and $res->body->can('read') or ref $res->body eq 'GLOB' |