blib/lib/HTTP/Request/Generator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 23 | 86.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
77 | 179 | 10 | 1 | $limit and @res > $limit |
355 | 17614 | 4 | 16 | $req->{'port'} and $req->{'port'} != $uri->default_port |
line | l | !l | condition |
---|---|---|---|
263 | 0 | 27 | delete $options{'wrap'} || sub { wantarray ? @_ : $_[0]; } |
270 | 20 | 7 | $options{'query_params'} || {} |
271 | 2 | 25 | $options{'body_params'} || {} |
272 | 19 | 8 | $options{'url_params'} || {} |
275 | 0 | 162 | $options{"fixed_$_"} ||= {} |
283 | 0 | 81 | $args{$_} ||= {} |
304 | 29 | 52 | $options{"fixed_$_"} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
334 | 52908 | 17630 | 6 | $key ne 'host' or not $values{$key} =~ /^\[.*\]$/ |