Condition Coverage

blib/lib/Net/HTTP/Spore/Request.pm
Criterion Covered Total %
condition 24 32 75.0


and 2 conditions

line l !l condition
209 0 2 $query_string and scalar @params

and 3 conditions

line !l l&&!r l&&r condition
57 0 0 51 @_ == 1 and not exists $_[0]{'env'}
165 9 0 34 defined $path_info and defined $query_string
174 6 28 9 defined $query_string and length $query_string > 0
207 2 0 0 $path and $path =~ s/\:$key/$value/
301 3 10 3 $path_info and $path_info =~ s/\:$k/=$k/

or 2 conditions

line l !l condition
171 34 9 $path_info // ''
234 39 13 $env->{'spore.url_scheme'} || 'http'
9 43 $env->{'SCRIPT_NAME'} || '/'
288 11 31 $self->env->{'spore.params'} || []
298 15 0 $v || ''
351 8 34 $query_string || ''

or 3 conditions

line l !l&&r !l&&!r condition
234 17 35 0 $env->{'HTTP_HOST'} || ($env->{'SERVER_NAME'} || '') . ':' . ($env->{'SERVER_PORT'} || 80)