Branch Coverage

blib/lib/PGObject.pm
Criterion Covered Total %
branch 1 42 2.3


line true false branch
81 0 5 if grep {$_ eq ":cache";} @directives
194 0 0 if ($args{'argtype1'})
209 0 0 if ($rows > 1) { }
0 0 elsif ($rows == 0) { }
210 0 0 if ($args{'argtype1'}) { }
302 0 0 unless $dbh
305 0 0 unless eval { do { $dbh->isa("DBI::db") } }
313 0 0 if $args{'running_funcs'}
314 0 0 if $wf_string
319 0 0 if eval { do { $arg->can("to_db") } }
320 0 0 if eval { do { $arg->can("pgobject_to_db") } }
325 0 0 ref $_ && eval { do { $_->{'cast'} } } ? :
329 0 0 if ($args{'orderby'})
334 0 0 if (s/\s+(ASC|DESC)\s*$//i)
337 0 0 defined $dir ? :
349 0 0 if ($order)
359 0 0 if (ref($carg) =~ /HASH/) { }
367 0 0 if (ref($carg) =~ /ARRAY/)
369 0 0 if (eval { do { $carg->[0]->can("to_db") } })
381 0 0 unless $sth->execute
383 0 0 if $dbh->state eq 42883