Branch Coverage

blib/lib/Astro/STSDAS/Table/Binary.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
75 0 0 unless read($$self{'fh'}, $buf, 12 * $Astro::STSDAS::Table::Binary::TypeSize{'4'}) == 12 * $Astro::STSDAS::Table::Binary::TypeSize{'4'}
91 0 0 if ($rawhdr{'nhp'})
97 0 0 unless read($$self{'fh'}, $buf, 80) == 80
104 0 0 if ($type eq -1)
113 0 0 if ($rawhdr{'nhp_a'} > $rawhdr{'nhp'})
118 0 0 unless read($$self{'fh'}, $buf, 80) == 80
126 0 0 unless read($$self{'fh'}, $buf, 16 * $Astro::STSDAS::Table::Binary::TypeSize{'4'}) == 16 * $Astro::STSDAS::Table::Binary::TypeSize{'4'}
139 0 0 if ($type < 0) { }
161 0 0 if ($rawhdr{'ncols_a'} > $rawhdr{'ncols'})
164 0 0 unless read($$self{'fh'}, $buf, $nbytes) == $nbytes
197 0 0 if ($self->is_row_order) { }
215 0 0 @_ && 'HASH' eq ref $_[-1] ? :
221 0 0 if ($self->is_row_order) { }
263 0 0 if ($self->is_row_order) { }
311 0 0 @_ && 'HASH' eq ref $_[-1] ? :
318 0 0 if (not $$self{'have_vecs'} or $attr{'VecSplit'}) { }
352 0 0 defined $uattr ? :
358 0 0 if 1 == $$col{'nelem'} or not $attr{'VecSplit'}
385 0 0 if $$self{'last_col_idx'} + 1 == $$self{'cols'}->ncols
396 0 0 unless ($nbytes == $nread)
405 0 0 unless ($col->is_string)
432 0 0 unless $row
450 0 0 @_ && 'HASH' eq ref $_[-1] ? :
458 0 0 if $$self{'row'} == $$self{'nrows'}
463 0 0 unless ($nread == $$self{'row_len'})
466 0 0 if 0 != $nread
474 0 0 $attr{'VecSplit'} ? :
480 0 0 if ($attr{'VecSplit'}) { }
489 0 0 if ($col->nelem == 1) { }
492 0 0 $col->is_indef($elem) ? :
496 0 0 $col->is_indef($_) ? :
509 0 0 if $col->is_indef($$data[$idx])