blib/lib/Kossy/Response.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 15 | 53.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
53 | 15 | 0 | 0 | &Scalar::Util::blessed($body) and overload::Method($body, '""') |
15 | 0 | 0 | &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline') | |
69 | 9 | 29 | 0 | $SECURITY_HEADER and $k eq 'X-XSS-Protection' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
45 | 26 | 4 | 0 | $self->{'headers'} ||= 'HTTP::Headers::Fast'->new |
53 | 14 | 0 | 15 | not ref $body or &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline') |