Condition Coverage

blib/lib/CGI/Session.pm
Criterion Covered Total %
condition 33 64 51.5


and 3 conditions

line !l l&&!r l&&r condition
230 9 20 7 $self->_test_status(2) and $self->_test_status(8)
285 17 4 6 defined $name and defined $value
420 0 0 1 $coderef and ref $coderef
0 0 1 $coderef and ref $coderef and ref $coderef eq 'CODE'
673 32 0 0 ref $read_only and ref $read_only eq 'HASH'
684 30 1 1 defined $read_only and $read_only != '1'
734 0 0 7 defined $$self{'_DATA'} and ref $$self{'_DATA'}
0 0 7 defined $$self{'_DATA'} and ref $$self{'_DATA'} and ref $$self{'_DATA'} eq 'HASH'
0 0 7 defined $$self{'_DATA'} and ref $$self{'_DATA'} and ref $$self{'_DATA'} eq 'HASH' and defined $$self{'_DATA'}{'_SESSION_ID'}
979 0 12 2 defined $time and $time =~ /^\d$/
12 1 1 defined $time and $time =~ /^\d$/ and $time == 0
993 1 0 1 $time =~ /^\d$/ and $time == 0
1033 0 0 19 defined $koef and defined $d

or 2 conditions

line l !l condition
86 2 25 $ENV{'REMOTE_ADDR'} || ''
361 0 0 $params ||= [$query->param]
381 0 0 $params ||= [$self->param]
429 0 1 $driver ||= 'file'
638 3 46 $ENV{'REMOTE_ADDR'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
174 0 0 52 $$self{'_NAME'} || $CGI::Session::NAME
228 0 11 36 not defined $$self{'_STATUS'} or $$self{'_STATUS'} == 1
360 0 0 0 $query ||= $self->query
380 0 0 0 $query ||= $self->query
707 0 2 23 $query->cookie($self->name) || $query->param($self->name)