Branch Coverage

blib/lib/Astro/FITS/HdrTrans/MICHELLE.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
123 1 0 if ($mode eq 'spectroscopy') { }
129 1 0 if (exists $FITS_headers->{'CHOPBEAM'} and $FITS_headers->{'CHOPBEAM'} =~ /^B/ and exists $FITS_headers->{'CHPANGLE'} and exists $FITS_headers->{'CHPTHROW'}) { }
163 1 0 if ($generic_headers->{'OBSERVATION_MODE'} eq 'spectroscopy') { }
184 1 0 if (exists $FITS_headers->{$k})
207 1 0 if (exists $FITS_headers->{'NOFFSETS'})
209 1 0 if (defined $noff and $noff =~ /\d+/)
229 2 0 if (exists $FITS_headers->{$k})
251 0 0 if ($mode eq 'spectroscopy') { }
257 0 0 if (exists $FITS_headers->{'CHOPBEAM'} and $FITS_headers->{'CHOPBEAM'} =~ /^B/ and exists $FITS_headers->{'CHPANGLE'} and exists $FITS_headers->{'CHPTHROW'}) { }
288 0 1 if ($utdate < 20010906) { }
308 1 0 if (exists $FITS_headers->{'RDOUT_X1'} and exists $FITS_headers->{'RDOUT_X2'}) { }
344 1 0 if (exists $FITS_headers->{'RDOUT_Y1'} and exists $FITS_headers->{'RDOUT_Y2'}) { }