Condition Coverage

blib/lib/HTTP/Engine/ResponseFinalizer.pm
Criterion Covered Total %
condition 18 20 90.0


and 3 conditions

line !l l&&!r l&&r condition
18 43 6 0 &Scalar::Util::blessed($res->body) and $res->body->can('getline') || $res->body->can('read')
49 34 14 9 $res->protocol and $res->protocol =~ /1\.1/
48 1 8 $res->protocol and $res->protocol =~ /1\.1/ and not !!$res->header('Connection')
53 2 54 1 defined $req->method and $req->method eq 'HEAD'

or 2 conditions

line l !l condition
64 1 2 $$val{'secure'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
18 4 1 1 $res->body->can('getline') || $res->body->can('read')
3 0 49 ref $res->body eq 'GLOB' or &Scalar::Util::blessed($res->body) and $res->body->can('getline') || $res->body->can('read')