Condition Coverage

blib/lib/Dancer2/Core/Response.pm
Criterion Covered Total %
condition 9 14 64.2


and 3 conditions

line !l l&&!r l&&r condition
191 27 0 579 not $headers->header('Content-Length') || $headers->header('Transfer-Encoding') and defined(my $content_length = length $content)

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
43 607 19 0 shift() || $self->headers
137 117 412 0 $self->content_type || $self->content_type($self->default_content_type)
191 27 0 579 $headers->header('Content-Length') || $headers->header('Transfer-Encoding')