Condition Coverage

blib/lib/CGI/Simple/Cookie.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
89 0 0 52 defined $name and defined $value
188 91 0 5 $samesite and $_legal_samesite{$samesite}

or 2 conditions

line l !l condition
94 13 39 $path ||= "/"

or 3 conditions

line l !l&&r !l&&!r condition
24 1 3 2 $ENV{'HTTP_COOKIE'} || $ENV{'COOKIE'}
49 0 27 0 $results{$key} ||= $self->new("-name", $key, "-value", \@values)
57 1 3 2 $ENV{'HTTP_COOKIE'} || $ENV{'COOKIE'}
75 0 52 0 ref $class || $class