Condition Coverage

blib/lib/Net/HTTP/Knork/Request.pm
Criterion Covered Total %
condition 12 32 37.5


and 2 conditions

line l !l condition
192 0 0 $query_string and scalar @params

and 3 conditions

line !l l&&!r l&&r condition
56 0 0 5 @_ == 1 and not exists $_[0]{'env'}
155 0 5 0 defined $path_info and defined $query_string
167 0 5 0 defined $query_string and length $query_string > 0
190 0 0 0 $path and $path =~ s/\:$key/$value/
279 0 0 2 $path_info and $path_info =~ s/\:$k/$v/

or 2 conditions

line l !l condition
165 5 0 $path_info || ''
204 5 0 $$env{'spore.url_scheme'} || 'http'
0 5 $$env{'SCRIPT_NAME'} || '/'
269 2 3 $self->env->{'spore.params'} || []
276 2 0 $$params[++$i] // ''
319 0 5 $query_string || ''

or 3 conditions

line l !l&&r !l&&!r condition
204 0 5 0 $$env{'HTTP_HOST'} || ($$env{'SERVER_NAME'} || '') . ':' . ($$env{'SERVER_PORT'} || 80)