Condition Coverage

blib/lib/Dancer2/Core/Response.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
170 0 1 567 not defined $charset and $self->has_charset
235 23 0 620 not $headers->header('Content-Length') || $headers->header('Transfer-Encoding') and defined(my $content_length = length $content)

or 2 conditions

line l !l condition
277 0 26 $status || 302

or 3 conditions

line l !l&&r !l&&!r condition
65 644 22 0 shift() || $self->headers
165 124 444 0 $self->content_type || $self->content_type($self->default_content_type)
172 1 0 567 not defined $charset or $charset eq ""
235 23 0 620 $headers->header('Content-Length') || $headers->header('Transfer-Encoding')