Branch Coverage

blib/lib/CGI/Session/Driver/DBI.pm
Criterion Covered Total %
branch 1 48 2.0


line true false branch
17 0 0 if (defined $$self{'Handle'}) { }
18 0 0 if (ref $$self{'Handle'} eq 'CODE') { }
30 0 0 unless ($$self{'Handle'})
44 0 0 if (@_ == 0 and ref $self and $$self{'TableName'})
49 0 0 if (@_)
53 0 0 unless (defined $$self{'TableName'})
64 1 0 unless $sid
69 0 0 unless ($sth)
72 0 0 unless $sth->execute($sid)
78 0 0 unless $row
87 0 0 unless $sid and $datastr
92 0 0 unless (defined $sth)
96 0 0 unless $sth->execute($sid)
101 0 0 if ($rc) { }
107 0 0 unless (defined $action_sth)
110 0 0 unless $action_sth->execute($datastr, $sid)
122 0 0 unless $sid
125 0 0 unless ($rc)
136 0 0 unless (defined $$self{'Handle'} and $$self{'Handle'}->ping)
141 0 0 unless ($$self{'Handle'}{'AutoCommit'})
144 0 0 if ($$self{'_disconnect'})
154 0 0 unless ($coderef and ref $coderef and ref $coderef eq 'CODE')
159 0 0 unless my $sth = $$self{'Handle'}->prepare_cached("SELECT $$self{'IdColName'} FROM $tablename", undef, 3)
161 0 0 unless $sth->execute