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
194 0 0 if ($args{'argtype1'})
208 0 0 unless $sth->execute(@queryargs)
210 0 0 if ($rows > 1) { }
0 0 elsif ($rows == 0) { }
211 0 0 if ($args{'argtype1'}) { }
303 0 0 unless $dbh
306 0 0 unless eval { do { $dbh->isa("DBI::db") } }
314 0 0 if $args{'running_funcs'}
315 0 0 if $wf_string
320 0 0 if eval { do { $arg->can("to_db") } }
321 0 0 if eval { do { $arg->can("pgobject_to_db") } }
326 0 0 ref $_ && eval { do { $_->{'cast'} } } ? :
330 0 0 if ($args{'orderby'})
335 0 0 if (s/\s+(ASC|DESC)\s*$//i)
338 0 0 defined $dir ? :
350 0 0 if ($order)
360 0 0 if (ref($carg) =~ /HASH/) { }
368 0 0 if (ref($carg) =~ /ARRAY/)
370 0 0 if (eval { do { $carg->[0]->can("to_db") } })
382 0 0 unless $sth->execute
384 0 0 if $dbh->state eq 42883