Condition Coverage

blib/lib/Mojo/UserAgent/CookieJar.pm
Criterion Covered Total %
condition 32 34 94.1


and 3 conditions

line !l l&&!r l&&r condition
54 125 4 6 $host ne $domain and !($host =~ /\Q.$domain\E$/u) || $host =~ /\.\d+$/u
82 43 458 1 $cookie->host_only and $host ne $cookie->domain
89 495 1 1 $cookie->secure and $url->protocol ne "https"
107 1 1 4 $file and -r $file

or 2 conditions

line l !l condition
25 154 4 $cookie->value // ""
28 156 1 $cookie->domain // ""
30 153 1 $cookie->name // ""
31 109 44 $self->{'jar'}{$domain} //= []
156 1 4 $cookie->expires // 0

or 3 conditions

line l !l&&r !l&&!r condition
54 4 3 3 !($host =~ /\Q.$domain\E$/u) || $host =~ /\.\d+$/u
57 63 65 0 $cookie->path // $url->path->to_dir->to_abs_string
170 381 0 80 $cookie->path ne $path || $cookie->name ne $name || $cookie->domain ne $domain
173 422 35 167 $_[0] eq "/" or $_[0] eq $_[1]