Condition Coverage

blib/lib/Kossy/Response.pm
Criterion Covered Total %
condition 8 15 53.3


and 3 conditions

line !l l&&!r l&&r condition
53 8 0 0 &Scalar::Util::blessed($body) and overload::Method($body, '""')
8 0 0 &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline')
69 1 29 0 $SECURITY_HEADER and $k eq 'X-XSS-Protection'

or 3 conditions

line l !l&&r !l&&!r condition
45 19 4 0 $self->{'headers'} ||= 'HTTP::Headers::Fast'->new
53 14 0 8 not ref $body or &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline')