blib/lib/Net/HTTP/Spore/Request.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 30 | 76.6 |
line | l | !l | condition |
---|---|---|---|
191 | 0 | 2 | $query_string and scalar @params |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
55 | 0 | 0 | 49 | @_ == 1 and not exists $_[0]{'env'} |
154 | 9 | 0 | 32 | defined $path_info and defined $query_string |
166 | 6 | 26 | 9 | defined $query_string and length $query_string > 0 |
189 | 2 | 0 | 0 | $path and $path =~ s/\:$key/$value/ |
278 | 3 | 10 | 3 | $path_info and $path_info =~ s/\:$k/$v/ |
line | l | !l | condition |
---|---|---|---|
164 | 32 | 9 | $path_info || '' |
214 | 37 | 13 | $env->{'spore.url_scheme'} || 'http' |
9 | 41 | $env->{'SCRIPT_NAME'} || '/' | |
268 | 11 | 29 | $self->env->{'spore.params'} || [] |
318 | 8 | 32 | $query_string || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
214 | 17 | 33 | 0 | $env->{'HTTP_HOST'} || ($env->{'SERVER_NAME'} || '') . ':' . ($env->{'SERVER_PORT'} || 80) |