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 44 defined $cookie and length $cookie
82 30 5 4 defined $parse->{'expires'} and $parse->{'expires'} < $now
155 5 17 1 $cookie->{'hostonly'} and $host ne $cookie->{'domain'}
156 20 1 1 $cookie->{'secure'} and $scheme ne "https"
157 20 1 0 defined $cookie->{'expires'} and $cookie->{'expires'} < $now
256 1 0 4 exists $p->{'domain'} and exists $p->{'path'}
287 3 1 58 defined $name and length $name
291 0 3 94 defined $s and $s =~ /\S/
331 9 0 3 not $parse->{'domain'} =~ /\./ and $parse->{'domain'} eq $host
358 0 0 56 defined $url and length $url
372 56 0 0 $host =~ s/:([0-9]*)\z// && length $1

or 2 conditions

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

or 3 conditions

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