Branch Coverage

blib/lib/DBIx/OO.pm
Criterion Covered Total %
branch 1 196 0.5


line true false branch
41 0 2 if ($@)
46 0 0 unless ref $c
272 0 0 if $table
325 0 0 if (@_) { }
326 0 0 if (ref $_[0] eq 'HASH') { }
0 0 elsif (@_ == 1) { }
331 0 0 unless defined $h
336 0 0 unless ref $v
349 0 0 if ($colname =~ /^!/)
375 0 0 if (@_)
379 0 0 if not exists $except{$_}
404 0 0 unless ($def)
419 0 0 if (@field == 1) { }
421 0 0 unless (exists $$self{'values'}{$f})
425 0 0 wantarray ? :
429 0 0 unless exists $$self{'values'}{$f}
432 0 0 if %groups
449 0 0 ref $_[0] eq 'HASH' ? :
506 0 0 if (not $wtf8) { }
509 0 0 @_ > 0 ? :
514 0 0 if (@_ > 0) { }
569 0 0 unless $INVALID_FIELD_NAMES{$name}
763 0 0 if (not defined $colmap)
766 0 0 if (not $arg) { }
0 0 elsif (not ref $arg) { }
0 0 elsif (ref $arg eq 'HASH') { }
0 0 elsif (ref $arg eq 'ARRAY') { }
781 0 0 unless defined $order2
798 0 0 unless defined $order2
801 0 0 unless (%join_colmap)
815 0 0 if $where2
852 0 0 if (not defined $colmap)
855 0 0 if (not $arg) { }
0 0 elsif (not ref $arg) { }
0 0 elsif (ref $arg eq 'HASH') { }
0 0 elsif (ref $arg eq 'ARRAY') { }
868 0 0 unless defined $order2
870 0 0 unless defined $limit2
872 0 0 unless defined $offset2
877 0 0 if $where2
883 0 0 ref $_[0] eq 'HASH' ? :
890 0 0 ref $_[0] eq 'HASH' ? :
1014 0 0 unless defined $order2
1016 0 0 unless defined $limit2
1018 0 0 unless defined $offset2
1023 0 0 if (not $select) { }
1024 0 0 if (not ref $arg1) { }
0 0 elsif (ref $arg1 eq 'ARRAY') { }
1033 0 0 if (not ref $arg2) { }
0 0 elsif (ref $arg2 eq 'ARRAY') { }
1071 0 0 wantarray ? :
1089 0 0 ref $_[0] eq 'HASH' ? :
1103 0 0 if @$pk == 1 and not exists $val{$$pk[0]}
1109 0 0 if ref $v
1158 0 0 if (ref $data eq 'ARRAY') { }
1188 0 0 if (ref $self) { }
1195 0 0 if (not ref $_[0]) { }
0 0 elsif (ref $_[0] eq 'HASH') { }
1206 0 0 if ($@)
1254 0 0 if (@_)
1264 0 0 wantarray ? :
1288 0 0 if (ref $class) { }
1313 0 0 if (not defined $where) { }
1397 0 0 unless (defined $sa)
1418 0 0 ref $_[0] eq 'HASH' ? :
1443 0 0 if ($bind) { }
1455 0 0 if (@k)
1463 0 0 if ref $v
1472 0 0 if (not $groups or @$groups == 0) { }
0 0 elsif (@$groups == 1) { }
1480 0 0 if $a
1484 0 0 if (defined $exclude and %$exclude)
1492 0 0 unless (ref $groups)
1508 0 0 unless my $id = $dbh->last_insert_id(undef, undef, $self->table, undef) || $$dbh{'mysql_insertid'} || eval { do { $dbh->func('last_insert_rowid') } }
1516 0 0 unless $h
1528 0 0 if ($def and %$def)
1531 0 0 unless (exists $$val{$k})
1532 0 0 if (ref $v eq 'CODE')
1544 0 0 if &Encode::is_utf8($str)
1549 0 0 if ($@)
1578 0 0 if (@a)
1674 0 0 if ($@) { }
1734 0 0 if ($has_version)
1739 0 0 unless (defined $cv)
1749 0 0 if ($v > $cv)
1757 0 0 if ($sql)
1776 0 0 if (defined $ct)
1784 0 0 if ($i =~ /$AUTOCREATE_LINE_RE/) { }
0 0 elsif (defined $ct) { }
1931 0 0 wantarray ? :
1939 0 0 $ref eq '' ? :
0 0 $ref eq 'SCALAR' ? :
0 0 $ref eq 'ARRAY' ? :
1943 0 0 s/^\^// ? :
1948 0 0 $val ? :
1953 0 0 $order ? :
1954 0 0 if defined $limit
1956 0 0 if defined $offset