Condition Coverage

inc/Plack/Request.pm
Criterion Covered Total %
condition 1 30 3.3


and 3 conditions

line !l l&&!r l&&r condition
19 0 0 5 defined $env and ref $env eq 'HASH'
55 0 0 0 $self->env->{'plack.cookie.parsed'} and $self->env->{'plack.cookie.string'} eq $self->env->{'HTTP_COOKIE'}
214 0 0 0 defined $self->env->{'QUERY_STRING'} and $self->env->{'QUERY_STRING'} ne ''
286 0 0 0 $read == 0 and $spin++ > 2000

or 2 conditions

line l !l condition
213 0 0 $self->env->{'PATH_INFO'} || ''
232 0 0 $$env{'psgi.url_scheme'} || 'http'
0 0 $$env{'SCRIPT_NAME'} || '/'

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 0 $self->env->{'plack.request.query'} ||= $self->_parse_query
160 0 0 0 $self->env->{'plack.request.merged'} ||= do { my $query = $self->query_parameters; my $body = $self->body_parameters; 'Hash::MultiValue'->new($query->flatten, $body->flatten) }
232 0 0 0 $$env{'HTTP_HOST'} || ($$env{'SERVER_NAME'} || '') . ':' . ($$env{'SERVER_PORT'} || 80)
251 0 0 0 $ct or $cl