| blib/lib/HTTP/Request/FromCurl.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 21 | 42 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 271 | 9 | 7 | 3 | $segments[-1] and $segments[-1] eq '..' || $segments[-1] eq '.' |
| 281 | 2 | 14 | 12 | $segments[$i] ne ".." and $segments[$i + 1] eq ".." |
| 387 | 8 | 0 | 0 | $options->{'max-filesize'} and $options->{'max-filesize'} =~ /^(\d+)([kmg])$/i |
| 432 | 0 | 0 | 0 | defined $name and length $name |
| 473 | 0 | 0 | 0 | defined $q and length $q |
| line | l | !l | condition |
|---|---|---|---|
| 458 | 0 | 0 | $method //= "POST" |
| 486 | 1 | 0 | $method //= "POST" |
| 498 | 1 | 7 | $method ||= "GET" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 271 | 5 | 1 | 4 | $segments[-1] eq '..' || $segments[-1] eq '.' |
| 442 | 1 | 0 | 8 | @post_read_data or @post_binary_data |
| 1 | 0 | 8 | @post_read_data or @post_binary_data or @post_raw_data | |
| 0 | 0 | 8 | @post_read_data or @post_binary_data or @post_raw_data or @post_urlencode_data | |
| 510 | 0 | 0 | 1 | $options->{'anyauth'} or $options->{'digest'} |
| 0 | 0 | 1 | $options->{'anyauth'} or $options->{'digest'} or $options->{'ntlm'} | |
| 0 | 0 | 1 | $options->{'anyauth'} or $options->{'digest'} or $options->{'ntlm'} or $options->{'negotiate'} |