Branch Coverage

blib/lib/Nile/HTTP/Response.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
77 0 0 if defined $code
78 0 0 if defined $headers
79 0 0 if defined $content
105 0 0 if (@_) { }
107 0 0 if (ref $headers eq 'ARRAY') { }
0 0 elsif (ref $headers eq 'HASH') { }
108 0 0 if @$headers % 2 != 0
260 0 0 if (@_)
284 0 0 unless $self->status
328 0 0 unless defined $eol
340 0 0 if (index($v, "\n") >= 0)
379 0 0 unless defined $eol
392 0 0 @_ == 1 && length $content && !($content =~ /\n\z/) ? :
435 0 0 unless defined $body
437 0 0 unless ($self->encoded)
442 0 0 if (not ref $body or &Scalar::Util::blessed($body) and overload::Method($body, '""') and not $body->can('getline')) { }
461 0 0 unless defined $val
463 0 0 unless ref $val eq 'HASH'
467 0 0 if $$val{'domain'}
468 0 0 if $$val{'path'}
469 0 0 if $$val{'expires'}
470 0 0 if $$val{'max-age'}
471 0 0 if $$val{'secure'}
472 0 0 if $$val{'httponly'}
481 0 0 if $status
516 0 0 if ($expires =~ /^\d+$/)
541 0 0 $format eq 'cookie' ? :
626 0 0 if $_[0] >= 100
634 0 0 if $_[0] >= 200
644 0 0 if $_[0] >= 300
653 0 0 if $_[0] >= 400
663 0 0 if $_[0] >= 400
673 0 0 if $_[0] >= 500