Condition Coverage

blib/lib/HTTP/Request/FromCurl.pm
Criterion Covered Total %
condition 33 42 78.5


and 3 conditions

line !l l&&!r l&&r condition
268 134 8 3 $segments[-1] and $segments[-1] eq '..' || $segments[-1] eq '.'
278 2 16 13 $segments[$i] ne ".." and $segments[$i + 1] eq ".."
384 131 1 1 $options->{'max-filesize'} and $options->{'max-filesize'} =~ /^(\d+)([kmg])$/iu
429 0 1 0 defined $name and length $name
470 1 0 1 defined $q and length $q

or 2 conditions

line l !l condition
455 2 2 $method //= "POST"
483 14 9 $method //= "POST"
495 8 96 $method ||= "GET"

or 3 conditions

line l !l&&r !l&&!r condition
268 6 1 4 $segments[-1] eq '..' || $segments[-1] eq '.'
439 8 3 124 @post_read_data or @post_binary_data
11 12 112 @post_read_data or @post_binary_data or @post_raw_data
15 1 111 @post_read_data or @post_binary_data or @post_raw_data or @post_urlencode_data
507 0 0 3 $options->{'anyauth'} or $options->{'digest'}
0 0 3 $options->{'anyauth'} or $options->{'digest'} or $options->{'ntlm'}
0 0 3 $options->{'anyauth'} or $options->{'digest'} or $options->{'ntlm'} or $options->{'negotiate'}