Branch Coverage

blib/lib/Dimedis/SqlDriver/Pg.pm
Criterion Covered Total %
branch 0 114 0.0


line true false branch
54 0 0 if ($autocommit)
56 0 0 if $$self{'debug'}
73 0 0 if $$self{'debug'}
75 0 0 if not $oid or $oid < 0
79 0 0 unless defined $lo_fd
81 0 0 if $$self{'debug'}
85 0 0 if ($filehandle) { }
0 0 elsif ($filename) { }
88 0 0 unless defined $len
96 0 0 unless open $fh, "> $filename"
98 0 0 unless defined $len
107 0 0 unless defined $len
114 0 0 unless $rc
121 0 0 if $@ =~ /^no_blob/
126 0 0 if ($autocommit)
127 0 0 if ($error) { }
133 0 0 if $$self{'debug'}
137 0 0 if $error
139 0 0 if $filehandle or $filename
166 0 0 if $where eq ''
178 0 0 unless $left_table_out
181 0 0 if (ref $$lref[1]) { }
183 0 0 if (@{$$lref[1];} > 1) { }
319 0 0 if ($type eq 'serial') { }
0 0 elsif ($type eq 'blob' or $type eq 'clob') { }
322 0 0 if (not defined $val) { }
341 0 0 if ($$par{'db_action'} eq 'insert')
360 0 0 if ($$par{'db_action'} eq 'insert') { }
377 0 0 if (@columns)
389 0 0 if ($blob_found)
390 0 0 if ($$par{'db_action'} eq 'insert') { }
412 0 0 if $$self{'debug'}
442 0 0 if ($@)
443 0 0 if $$self{'debug'}
450 0 0 if $$self{'debug'}
454 0 0 if $$self{'debug'}
481 0 0 if ($autocommit)
483 0 0 if $$self{'debug'}
499 0 0 if $$self{'debug'}
501 0 0 if ($oid != -1)
504 0 0 unless $rc
505 0 0 if $$self{'debug'}
509 0 0 unless defined $oid
516 0 0 if $$self{'debug'}
520 0 0 unless defined $lo_fd
523 0 0 if (ref $val and ref $val ne 'SCALAR') { }
0 0 elsif (not ref $val) { }
531 0 0 unless defined $rc
540 0 0 unless open $fh, $val
545 0 0 unless defined $rc
558 0 0 if ($chunk_len > $len) { }
569 0 0 unless defined $rc
577 0 0 unless $rc
586 0 0 if ($autocommit)
587 0 0 if ($error) { }
593 0 0 if $$self{'debug'}
597 0 0 if $error