Branch Coverage

blib/lib/Dimedis/SqlDriver/ODBC.pm
Criterion Covered Total %
branch 0 122 0.0


line true false branch
98 0 0 unless $blob_id
100 0 0 if $$self{'debug'}
104 0 0 if $$self{'debug'}
110 0 0 if $$self{'debug'}
112 0 0 unless my $sth = $$self{'dbh'}->prepare_cached("\n\t\tselect chunk \n\t\tfrom dim_blob\n\t\twhere id = ?\n\t\torder by pos\n\t")
119 0 0 unless $sth->execute($blob_id)
128 0 0 if $DBI::errstr
133 0 0 if $$self{'debug'}
138 0 0 unless $sth->finish
140 0 0 if $$self{'debug'}
145 0 0 if ($filename) { }
0 0 elsif ($filehandle) { }
146 0 0 unless open BLOB, "> $filename"
183 0 0 if $where eq ''
195 0 0 unless $left_table_out
198 0 0 if (ref $$lref[1]) { }
200 0 0 if (@{$$lref[1];} > 1) { }
331 0 0 if ($modified != 1)
345 0 0 if $$self{'debug'}
349 0 0 if $$self{'debug'}
367 0 0 unless ($id)
381 0 0 unless $modified == 1
394 0 0 if $$self{'debug'}
419 0 0 if (exists $$par{'cache'})
428 0 0 unless $$self{'cache'}
437 0 0 if ($type eq 'serial' and not $val && $$self{'serial_write'}) { }
0 0 elsif ($type eq 'blob' or $type eq 'clob') { }
0 0 elsif ($type eq 'varchar' and $scale > 255) { }
453 0 0 if ($$par{'db_action'} eq 'insert') { }
482 0 0 if ($val eq '' or not defined $val) { }
500 0 0 if ($$par{'db_action'} eq 'insert') { }
520 0 0 if (@columns)
536 0 0 if ($blob_found)
557 0 0 if $$self{'debug'}
569 0 0 if ($blob_exists) { }
583 0 0 if $$self{'debug'}
586 0 0 if (not ref $val) { }
0 0 elsif (ref $val ne 'SCALAR') { }
589 0 0 unless open $fh, $val
602 0 0 if (not $fh) { }
608 0 0 if $$self{'debug'}
624 0 0 if $$self{'debug'}
636 0 0 unless ref $val
647 0 0 if $$self{'debug'}
650 0 0 if (not ref $val) { }
0 0 elsif (ref $val ne 'SCALAR') { }
653 0 0 unless open $fh, $val
670 0 0 if (not $fh) { }
677 0 0 unless ($insert)
684 0 0 if $$self{'debug'}
686 0 0 if ($updated == 0)
691 0 0 if ($insert)
699 0 0 if $$self{'debug'}
711 0 0 unless ($insert)
718 0 0 if $$self{'debug'}
721 0 0 if ($updated == 0)
726 0 0 if ($insert)
734 0 0 if $$self{'debug'}
741 0 0 unless ref $val
744 0 0 unless ($insert)
753 0 0 if $$self{'debug'}