Branch Coverage

blib/lib/Astro/FITS/Header/CFITSIO.pm
Criterion Covered Total %
branch 18 34 52.9


line true false branch
83 1 2 if exists $args{'Cards'} or exists $args{'Items'}
86 0 2 if (exists $args{'fitsID'}) { }
2 0 elsif (exists $args{'File'}) { }
90 0 2 $args{'ReadOnly'} ? :
98 2 0 if ($status == 0)
119 2 0 if ($status == 0) { }
132 2 0 if (exists $args{'File'})
137 2 0 if ($ext == -99)
151 0 2 if ($status != 0)
157 2 0 unless exists $args{'fitsID'}
183 0 1 if exists $args{'Cards'}
190 0 1 if (exists $args{'fitsID'}) { }
1 0 elsif (exists $args{'File'}) { }
200 1 0 if ($status == 0)
214 1 0 if (defined(my $end_card = $self->index("END")))
221 0 1 if ($status != 0)
227 1 0 unless exists $args{'fitsID'}