blib/lib/CGI/Session.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 59 | 47.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
185 | 8 | 12 | 6 | $self->_test_status(1) and $self->_test_status(4) |
243 | 13 | 4 | 6 | defined $args{'-name'} and defined $args{'-value'} |
371 | 0 | 0 | 0 | $coderef and ref $coderef |
0 | 0 | 0 | $coderef and ref $coderef and ref $coderef eq 'CODE' | |
677 | 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'} | |
847 | 0 | 12 | 1 | defined $time and $time =~ /^\d$/ |
12 | 0 | 1 | defined $time and $time =~ /^\d$/ and $time == 0 | |
861 | 1 | 0 | 1 | $time =~ /^\d$/ and $time == 0 |
901 | 0 | 0 | 19 | defined $koef and defined $d |
line | l | !l | condition |
---|---|---|---|
315 | 0 | 0 | $params ||= [$query->param] |
335 | 0 | 0 | $params ||= [$self->param] |
380 | 0 | 0 | $driver ||= 'file' |
577 | 1 | 31 | $ENV{'REMOTE_ADDR'} || '' |
623 | 15 | 17 | $$self{'_DSN'}{'driver'} ||= 'file' |
624 | 14 | 18 | $$self{'_DSN'}{'serializer'} ||= 'default' |
625 | 5 | 27 | $$self{'_DSN'}{'id'} ||= 'md5' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
201 | 12 | 1 | 1 | $self->_test_status(1) or $self->_test_status(2) |
314 | 0 | 0 | 0 | $query ||= $self->query |
334 | 0 | 0 | 0 | $query ||= $self->query |
648 | 0 | 0 | 15 | $query->cookie($self->name) || $query->param($self->name) |