Branch Coverage

blib/lib/SQL/DB.pm
Criterion Covered Total %
branch 29 76 38.1


line true false branch
56 0 0 if eval { do { $_[0]->isa('SQL::DB') } }
63 0 0 unless @_
233 0 2 if $seen{$table}++
235 0 2 if (my $info = $self->table_info->{$table})
245 0 2 if @still_not_known
252 0 1 unless $@
260 0 1 if @_ != 1
268 3 0 unless $@
276 0 3 if @_ != 1
284 3 1 unless $@
292 0 4 if @_ != 1
306 0 17 if $SQL::DB::log->is_debug
313 0 17 if ($@)
344 0 0 $self->cache_sth ? :
349 0 0 if ($@)
357 6 0 $self->cache_sth ? :
362 0 6 if ($@)
372 0 11 unless @_
374 11 0 $self->cache_sth ? :
380 0 11 if ($@)
442 0 0 if $self->_current_timestamp
457 0 0 if ($set_timestamp)
464 0 0 if ($set_timestamp)
469 0 0 $wantarray ? :
482 0 2 unless ($str_into eq 'into' and $str_values eq 'values' and ref $values eq 'HASH' || eval { do { $values->isa('HASH') } })
495 0 2 if @invalid
497 0 2 unless @cols
518 0 0 if $urow->can($_)
521 0 0 unless (@updates)
527 0 0 if (my(@keys) = keys %$where)
533 0 0 $expr ? :
554 0 1 if (my(@keys) = keys %$where)
558 0 1 $expr ? :
579 0 2 unless @columns
582 1 1 if (my(@keys) = keys %$where)
586 0 1 $expr ? :
1 1 if wantarray
592 1 0 $expr ? :