blib/lib/VisionDB/Read.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 8 | 50.0 |
line | l | !l | condition |
---|---|---|---|
47 | 51 | 0 | $fh || die("cannot set binmode ($!)\n") |
179 | 8 | 0 | read($$self{'_fh'}, $buf, $$self{'_data_start'} - 512, 512) == $$self{'_data_start'} - 512 or die "read failed ($!)\n" |
233 | 20 | 0 | _open_db_segment($$self{'_db_fpath'} . $$self{'_db_fname'}, $_) || die("some data files are unavailable\n") |
330 | 6 | 0 | seek $fh, $$self{'_data_start'}, 0 or die "seek error ($!)\n" |