Condition Coverage

blib/lib/CGI/Simple/Cookie.pm
Criterion Covered Total %
condition 15 23 65.2


and 3 conditions

line !l l&&!r l&&r condition
91 0 0 52 defined $name and defined $value
200 97 0 5 $samesite and $_legal_samesite{$samesite}
208 93 0 2 $priority and $_legal_priority{$priority}

or 2 conditions

line l !l condition
96 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