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
271 162 8 3 $segments[-1] and $segments[-1] eq '..' || $segments[-1] eq '.'
281 2 16 13 $segments[$i] ne ".." and $segments[$i + 1] eq ".."
387 159 1 1 $options->{'max-filesize'} and $options->{'max-filesize'} =~ /^(\d+)([kmg])$/iu
432 0 1 0 defined $name and length $name
473 1 0 1 defined $q and length $q

or 2 conditions

line l !l condition
458 2 2 $method //= "POST"
486 14 9 $method //= "POST"
498 8 124 $method ||= "GET"

or 3 conditions

line l !l&&r !l&&!r condition
271 6 1 4 $segments[-1] eq '..' || $segments[-1] eq '.'
442 8 3 152 @post_read_data or @post_binary_data
11 12 140 @post_read_data or @post_binary_data or @post_raw_data
15 1 139 @post_read_data or @post_binary_data or @post_raw_data or @post_urlencode_data
510 0 0 5 $options->{'anyauth'} or $options->{'digest'}
0 0 5 $options->{'anyauth'} or $options->{'digest'} or $options->{'ntlm'}
0 0 5 $options->{'anyauth'} or $options->{'digest'} or $options->{'ntlm'} or $options->{'negotiate'}