Condition Coverage

blib/lib/Plack/Middleware/ContentLength.pm
Criterion Covered Total %
condition 5 6 83.3


and 3 conditions

line !l l&&!r l&&r condition
15 85 1 586 not Plack::Util::status_with_no_entity_body($res->[0]) || $h->exists('Content-Length') || $h->exists('Transfer-Encoding') and defined(my $content_length = Plack::Util::content_length($res->[2]))

or 3 conditions

line l !l&&r !l&&!r condition
15 71 0 587 Plack::Util::status_with_no_entity_body($res->[0]) || $h->exists('Content-Length') || $h->exists('Transfer-Encoding')