Branch Coverage

lib/DB/Object/Tables.pm
Criterion Covered Total %
branch 1 128 0.7


line true false branch
40 0 0 if @_ and @_ % 2
44 0 0 unless $table or $arg{'table'}
65 0 0 if $table
81 0 0 unless defined $ref and %$ref
98 0 0 if @_ == 1 and ref $_[0]
99 0 0 if @_ and not $spec
102 0 0 unless $spec and ref $spec and @$spec
106 0 0 unless (defined wantarray)
108 0 0 unless $sth->execute
118 0 0 if (@_)
121 0 0 length $_[0] > 0 ? :
147 0 0 if $pack =~ /^$base_class\b/
155 0 0 if ($sth) { }
199 0 0 wantarray ? :
0 0 unless %$default
200 0 0 wantarray ? :
210 0 0 if (Want::want("VOID") or Want::want("OBJECT"))
212 0 0 if Want::want("VOID")
220 0 0 if (wantarray) { }
242 0 0 unless (defined wantarray)
244 0 0 unless $sth->execute
262 0 0 wantarray ? :
0 0 unless %$fields
263 0 0 wantarray ? :
272 0 0 if ($o and $self->_is_object($o))
288 0 0 if (not $self->_is_class_loaded($class)) { }
304 0 0 if $@
358 0 0 if (Want::want("VOID") or Want::want("OBJECT"))
360 0 0 if Want::want("VOID")
367 0 0 if (wantarray) { }
413 0 0 wantarray ? :
0 0 unless %$null
414 0 0 wantarray ? :
440 0 0 if $alias and $self->{'prefixed'} > 0
441 0 0 if $self->{'prefixed'} > 2
442 0 0 if $self->{'prefixed'} > 1 and $self->schema
443 0 0 if $self->{'prefixed'} > 0
444 0 0 unless scalar @val
458 0 0 if (@_) { }
460 0 0 $_[0] ? :
0 0 $_[0] =~ /^\d+$/ ? :
467 0 0 if $fo
477 0 0 wantarray ? :
0 0 unless $primary and @$primary
478 0 0 wantarray ? :
509 0 0 if (Want::want("VOID") or Want::want("OBJECT"))
511 0 0 if Want::want("VOID")
519 0 0 if (wantarray) { }
535 0 1 unless $self->_reset_query(@_)
553 0 0 if (@_)
571 0 0 if (Want::want("VOID") or Want::want("OBJECT"))
573 0 0 if Want::want("VOID")
579 0 0 if (wantarray) { }
597 0 0 if (@_)
637 0 0 wantarray ? :
0 0 unless %$types
638 0 0 wantarray ? :
646 0 0 wantarray ? :
0 0 unless %$types
647 0 0 wantarray ? :
671 0 0 if (Want::want("VOID") or Want::want("OBJECT"))
673 0 0 if Want::want("VOID")
681 0 0 if (wantarray) { }
709 0 0 if (exists $fields->{$method}) { }