Condition Coverage

blib/lib/HTTP/Request/FromCurl.pm
Criterion Covered Total %
condition 20 39 51.2


and 3 conditions

line !l l&&!r l&&r condition
265 9 7 3 $segments[-1] and $segments[-1] eq '..' || $segments[-1] eq '.'
275 2 14 12 $segments[$i] ne ".." and $segments[$i + 1] eq ".."
412 0 0 0 defined $name and length $name
451 0 0 0 defined $q and length $q

or 2 conditions

line l !l condition
436 0 0 $method //= "POST"
464 1 0 $method //= "POST"
469 1 7 $method ||= "GET"

or 3 conditions

line l !l&&r !l&&!r condition
265 5 1 4 $segments[-1] eq '..' || $segments[-1] eq '.'
422 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
481 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'}