Branch Coverage

blib/lib/PGObject.pm
Criterion Covered Total %
branch 1 44 2.2


line true false branch
81 0 5 if grep {$_ eq ":cache";} @directives
197 0 0 if ($args{'argtype1'})
212 0 0 unless $sth->execute(@queryargs)
215 0 0 if ($rows > 1) { }
0 0 elsif ($rows == 0) { }
216 0 0 if ($args{'argtype1'}) { }
314 0 0 unless $dbh
317 0 0 unless eval { do { $dbh->isa("DBI::db") } }
325 0 0 if $args{'running_funcs'}
326 0 0 if $wf_string
331 0 0 if eval { do { $arg->can("to_db") } }
332 0 0 if eval { do { $arg->can("pgobject_to_db") } }
337 0 0 ref $_ && eval { do { $_->{'cast'} } } ? :
341 0 0 if ($args{'orderby'})
346 0 0 if (s/\s+(ASC|DESC)\s*$//i)
349 0 0 defined $dir ? :
361 0 0 if ($order)
372 0 0 if (ref($carg) =~ /HASH/) { }
380 0 0 if (ref($carg) =~ /ARRAY/)
382 0 0 if (eval { do { $carg->[0]->can("to_db") } })
394 0 0 unless $sth->execute
396 0 0 if $dbh->state eq 42883