Condition Coverage

blib/lib/Nile/HTTP/Response.pm
Criterion Covered Total %
condition 0 24 0.0


and 3 conditions

line !l l&&!r l&&r condition
392 0 0 0 @_ == 1 && length $content && !($content =~ /\n\z/)
442 0 0 0 &Scalar::Util::blessed($body) and overload::Method($body, '""')
0 0 0 &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline')

or 2 conditions

line l !l condition
262 0 0 shift() || 302
390 0 0 $ENV{'SERVER_PROTOCOL'} || 'HTTP/1.1'
481 0 0 $self->app->mime->for_file($file) || 'application/x-download'

or 3 conditions

line l !l&&r !l&&!r condition
117 0 0 0 $$self{'headers'} ||= 'HTTP::Headers'->new
442 0 0 0 not ref $body or &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline')
481 0 0 0 $mime ||= $self->app->mime->for_file($file) || 'application/x-download'