Branch Coverage

blib/lib/CAM/Session.pm
Criterion Covered Total %
branch 6 48 12.5


line true false branch
115 1 2 unless ($$self{'dbh'})
120 2 0 unless (ref $$self{'dbh'} and ref($$self{'dbh'}) =~ /^(DBI|DBD)\b/)
122 1 1 ref $$self{'dbh'} ? :
128 0 0 if (exists $cookies{$$self{'cookieName'}}) { }
132 0 0 unless ($self->loadSessionData)
155 0 3 if ($$self{'needsSave'})
222 0 0 if (wantarray) { }
244 0 0 unless defined $fieldName
265 0 0 unless defined $fieldName
324 0 0 unless $id
326 0 0 unless $dbrow
329 0 0 unless ($$self{'data'})
355 0 0 unless $id
357 0 0 unless defined $data
364 0 0 if not $result or $result == 0
402 0 0 if ($matches == 0)
420 0 0 unless $id
423 0 0 defined $$self{'expiration'} ? :
433 0 0 unless $row
435 0 0 if (defined $$self{'expiration'})
440 0 0 if ($$row{$colname_time} lt $$row{'expires'})
539 0 0 unless defined $_
551 0 0 unless defined $implosion
555 0 0 if (@fields % 2 != 0)