Condition Coverage

blib/lib/HTTP/CookieJar.pm
Criterion Covered Total %
condition 28 41 68.2


and 3 conditions

line !l l&&!r l&&r condition
45 0 0 41 defined $cookie and length $cookie
82 27 5 4 defined $parse->{'expires'} and $parse->{'expires'} < $now
148 5 8 1 $cookie->{'hostonly'} and $host ne $cookie->{'domain'}
149 11 1 1 $cookie->{'secure'} and $scheme ne 'https'
150 11 1 0 defined $cookie->{'expires'} and $cookie->{'expires'} < $now
248 1 0 4 exists $p->{'domain'} and exists $p->{'path'}
281 3 1 55 defined $name and length $name
285 0 3 91 defined $s and $s =~ /\S/
325 9 0 3 not $parse->{'domain'} =~ /\./ and $parse->{'domain'} eq $host
352 0 0 50 defined $url and length $url
366 50 0 0 $host =~ s/:([0-9]*)\z// && length $1

or 2 conditions

line l !l condition
290 9 1 &HTTP::Date::str2time($v) || 0

or 3 conditions

line l !l&&r !l&&!r condition
63 22 0 14 not exists $parse->{'path'} or substr($parse->{'path'}, 0, 1) ne '/'
334 0 0 22 not length $path or substr($path, 0, 1) ne '/'