Branch Coverage

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


line true false branch
92 0 0 unless $blob_id
94 0 0 if $$self{'debug'}
98 0 0 if $$self{'debug'}
104 0 0 if $$self{'debug'}
106 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")
113 0 0 unless $sth->execute($blob_id)
122 0 0 if $DBI::errstr
126 0 0 if $$self{'debug'}
131 0 0 unless $sth->finish
133 0 0 if $$self{'debug'}
138 0 0 if ($filename) { }
0 0 elsif ($filehandle) { }
139 0 0 unless open BLOB, "> $filename"
188 0 0 unless $from_tables{$left}
191 0 0 if (ref $$lref[1]) { }
193 0 0 if (@{$$lref[1];} > 1) { }
210 0 0 unless $from_tables{$$lref[$i][0]}
360 0 0 if ($modified != 1)
374 0 0 if $$self{'debug'}
378 0 0 if $$self{'debug'}
396 0 0 unless ($id)
410 0 0 unless $modified == 1
423 0 0 if $$self{'debug'}
448 0 0 if (exists $$par{'cache'})
457 0 0 unless $$self{'cache'}
466 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) { }
482 0 0 if ($$par{'db_action'} eq 'insert') { }
511 0 0 if ($val eq '' or not defined $val) { }
529 0 0 if ($$par{'db_action'} eq 'insert') { }
549 0 0 if (@columns)
565 0 0 if ($blob_found)
586 0 0 if $$self{'debug'}
598 0 0 if ($blob_exists) { }
612 0 0 if $$self{'debug'}
615 0 0 if (not ref $val) { }
0 0 elsif (ref $val ne 'SCALAR') { }
618 0 0 unless open $fh, $val
631 0 0 if (not $fh) { }
637 0 0 if $$self{'debug'}
653 0 0 if $$self{'debug'}
665 0 0 unless ref $val
676 0 0 if $$self{'debug'}
679 0 0 if (not ref $val) { }
0 0 elsif (ref $val ne 'SCALAR') { }
682 0 0 unless open $fh, $val
699 0 0 if (not $fh) { }
706 0 0 unless ($insert)
713 0 0 if $$self{'debug'}
715 0 0 if ($updated == 0)
720 0 0 if ($insert)
728 0 0 if $$self{'debug'}
740 0 0 unless ($insert)
747 0 0 if $$self{'debug'}
750 0 0 if ($updated == 0)
755 0 0 if ($insert)
763 0 0 if $$self{'debug'}
770 0 0 unless ref $val
773 0 0 unless ($insert)
782 0 0 if $$self{'debug'}