Branch Coverage

blib/lib/Astro/FITS/HdrTrans/JCMT_GSD.pm
Criterion Covered Total %
branch 1 70 1.4


line true false branch
113 0 20 if (exists $headers->{'C1RCV'} and defined $headers->{'C1RCV'} and $headers->{'C1RCV'} =~ /^rx(a|b|w)/i || $headers->{'C1RCV'} =~ /^fts/i) { }
148 0 0 if (exists $FITS_headers->{'C1RCV'})
150 0 0 if ($return =~ /^rxa3/i) { }
0 0 elsif ($return =~ /^rxb/i) { }
193 0 0 if (exists $FITS_headers->{'C3DAT'})
195 0 0 length $3 == 2 ? :
212 0 0 if (exists $generic_headers->{'UTDATE'})
214 0 0 unless defined $date
234 0 0 if (exists $FITS_headers->{'C3DAT'} and defined $FITS_headers->{'C3DAT'} and exists $FITS_headers->{'C3UT'} and defined $FITS_headers->{'C3UT'})
240 0 0 length $3 == 2 ? :
258 0 0 if (exists $FITS_headers->{'C3DAT'} and defined $FITS_headers->{'C3DAT'} and exists $FITS_headers->{'C3UT'} and defined $FITS_headers->{'C3UT'})
264 0 0 length $3 == 2 ? :
296 0 0 if (exists $FITS_headers->{'C3NRS'} and defined $FITS_headers->{'C3NRS'} and exists $FITS_headers->{'C3NFOC'} and defined $FITS_headers->{'C3NFOC'} and exists $FITS_headers->{'C3NCH'} and defined $FITS_headers->{'C3NCH'})
302 0 0 if ($bandwidth >= 1000) { }
323 0 0 if (exists $FITS_headers->{'C6ST'} and defined $FITS_headers->{'C6ST'})
327 0 0 if ($c6st eq 'RASTER') { }
0 0 elsif ($c6st eq 'PATTERN' or $c6st eq 'GRID') { }
329 0 0 if (exists $FITS_headers->{'C3NSAMPL'} and defined $FITS_headers->{'C3NSAMPL'} and exists $FITS_headers->{'C3CL'} and defined $FITS_headers->{'C3CL'} and exists $FITS_headers->{'C3NPP'} and defined $FITS_headers->{'C3NPP'})
344 0 0 if (exists $FITS_headers->{'C6MODE'} and defined $FITS_headers->{'C6MODE'}) { }
350 0 0 if (exists $FITS_headers->{'C3NSAMPL'} and defined $FITS_headers->{'C3NSAMPL'} and exists $FITS_headers->{'C3NCYCLE'} and defined $FITS_headers->{'C3NCYCLE'} and exists $FITS_headers->{'C3CL'} and defined $FITS_headers->{'C3CL'})
358 0 0 if ($c6mode eq 'POSITION_SWITCH') { }
0 0 elsif ($c6mode eq 'BEAMSWITCH') { }
0 0 elsif ($c6mode eq 'CHOPPING') { }
369 0 0 if (exists $FITS_headers->{'C1RCV'} and defined $FITS_headers->{'C1RCV'})
371 0 0 if ($c1rcv eq 'RXA3I') { }
0 0 elsif ($c1rcv eq 'RXB') { }
388 0 0 if (exists $FITS_headers->{'C6MODE'} and defined $FITS_headers->{'C6MODE'}) { }
394 0 0 if (exists $FITS_headers->{'C3NSAMPL'} and defined $FITS_headers->{'C3NSAMPL'} and exists $FITS_headers->{'C3NCYCLE'} and defined $FITS_headers->{'C3NCYCLE'} and exists $FITS_headers->{'C3CL'} and defined $FITS_headers->{'C3CL'})
402 0 0 if ($c6mode eq 'POSITION_SWITCH') { }
0 0 elsif ($c6mode eq 'BEAMSWITCH') { }
0 0 elsif ($c6mode eq 'CHOPPING') { }
413 0 0 if (exists $FITS_headers->{'C1RCV'} and defined $FITS_headers->{'C1RCV'})
415 0 0 if ($c1rcv eq 'RXA3I') { }
0 0 elsif ($c1rcv eq 'RXB') { }
444 0 0 if (exists $FITS_headers->{'C12VREF'} and defined $FITS_headers->{'C12VREF'} and exists $FITS_headers->{'C12VDEF'} and defined $FITS_headers->{'C12VDEF'})