Condition Coverage

blib/lib/Plack/Response.pm
Criterion Covered Total %
condition 14 16 87.5


and 3 conditions

line !l l&&!r l&&r condition
117 20 0 2 &Scalar::Util::blessed($body) and overload::Method($body, '""')
20 1 1 &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline')

or 2 conditions

line l !l condition
49 11 35 $self->{'cookies'} ||= {}
77 2 1 shift() || 302

or 3 conditions

line l !l&&r !l&&!r condition
40 25 36 0 $self->{'headers'} ||= 'HTTP::Headers::Fast'->new
117 14 1 21 not ref $body or &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline')