Condition Coverage

blib/lib/CGI/Cookie.pm
Criterion Covered Total %
condition 13 29 44.8


and 3 conditions

line !l l&&!r l&&r condition
68 9 0 0 $MOD_PERL and not exists $ENV{'REQUEST_METHOD'}
108 39 1 1 ref $params[0] and eval { do { $params[0]->isa('Apache') unless $params[0]->isa('Apache::Request::Req') } }
119 0 0 41 defined $name and defined $value
237 96 0 4 $samesite and $_legal_samesite{$samesite}

or 2 conditions

line l !l condition
124 9 32 $path ||= '/'

or 3 conditions

line l !l&&r !l&&!r condition
61 0 0 0 $r ||= eval { do { $MOD_PERL == 2 ? 'Apache2::RequestUtil'->request : 'Apache'->request } }
70 2 0 7 $ENV{'HTTP_COOKIE'} || $ENV{'COOKIE'}
98 0 23 0 $results{$key} ||= $self->new('-name', $key, '-value', \@values)
105 0 41 0 ref $class || $class
164 0 0 0 $r ||= eval { do { $MOD_PERL == 2 ? 'Apache2::RequestUtil'->request : 'Apache'->request } }