Branch Coverage

blib/lib/CTK/DBI.pm
Criterion Covered Total %
branch 1 68 1.4


line true false branch
187 0 1 $^O =~ /mswin/i ? :
226 0 0 if ($in[7])
248 0 0 if ($args{'dbh'}) { }
262 0 0 if (defined $merr) { }
0 0 elsif ($dbh and $dbh->can('errstr')) { }
0 0 elsif (defined $DBI::errstr) { }
271 0 0 if ($dbh and $dbh->{'PrintError'})
272 0 0 if length $self->{'error'}
289 0 0 unless $self->{'dbh'}
302 0 0 unless $sth
310 0 0 unless $sth
312 0 0 unless $rslt and ref $rslt eq 'HASH'
320 0 0 unless $sth
322 0 0 unless $rslt and ref $rslt eq 'ARRAY'
331 0 0 unless $sth
333 0 0 unless $rslt and ref $rslt eq 'HASH'
343 0 0 unless length $sql
348 0 0 $prepare_attr && ref $prepare_attr eq 'HASH' ? :
349 0 0 keys %attr ? :
350 0 0 unless ($sth_ex)
359 0 0 unless $LOAD_SigAction
363 0 0 unless ($sth_ex->execute(@inargs))
370 0 0 if $@
372 0 0 if ($@)
376 0 0 unless ($count_execute)
379 0 0 defined $_ ? :
0 0 if exists $inargs[0]
410 0 0 unless $rerr and ref $rerr eq 'SCALAR'
417 0 0 unless $LOAD_SigAction
421 0 0 unless ($dbh = 'DBI'->connect($db_dsn, "$db_user", "$db_password", $db_attr))
428 0 0 if $@
430 0 0 if ($@)
435 0 0 unless ($count_connect)
442 0 0 $CTK_DBI_DEBUG ? :