Branch Coverage

inc/Plack/Request.pm
Criterion Covered Total %
branch 1 52 1.9


line true false branch
19 0 5 unless defined $env and ref $env eq 'HASH'
35 0 0 unless $_[0]->env->{'PATH_INFO'}
52 0 0 unless $self->env->{'HTTP_COOKIE'}
55 0 0 if ($self->env->{'plack.cookie.parsed'} and $self->env->{'plack.cookie.string'} eq $self->env->{'HTTP_COOKIE'})
71 0 0 unless exists $results{$key}
87 0 0 if (defined $query_string)
88 0 0 if ($query_string =~ /=/) { }
91 0 0 /=/ ? :
108 0 0 unless ($self->env->{'psgix.input.buffered'})
112 0 0 unless my $fh = $self->input
113 0 0 unless my $cl = $self->env->{'CONTENT_LENGTH'}
128 0 0 unless (defined $$self{'headers'})
149 0 0 unless ($self->env->{'plack.request.body'})
170 0 0 if ($self->env->{'plack.request.upload'})
181 0 0 if @_ == 0
184 0 0 unless wantarray
191 0 0 if @_ == 0
194 0 0 unless wantarray
214 0 0 if defined $self->env->{'QUERY_STRING'} and $self->env->{'QUERY_STRING'} ne ''
217 0 0 if $path =~ m[^/]
251 0 0 unless ($ct or $cl)
271 0 0 if ($self->env->{'psgix.input.buffered'}) { }
280 0 0 $cl < 8192 ? :
284 0 0 if $buffer
286 0 0 if ($read == 0 and $spin++ > 2000)
291 0 0 if ($buffer) { }