Branch Coverage

blib/lib/Astro/FITS/HdrTrans/ESO.pm
Criterion Covered Total %
branch 0 94 0.0


line true false branch
86 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.TEL.AIRM.END'}) { }
0 0 elsif (exists $FITS_headers->{'AIRMASS'}) { }
104 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.TEL.AIRM.START'}) { }
0 0 elsif (exists $FITS_headers->{'AIRMASS'}) { }
122 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.INS.GRAT.ENC'})
132 0 0 if (exists $FITS_headers->{'DEC'})
135 0 0 defined $dec ? :
150 0 0 defined $chop ? :
152 0 0 exists $FITS_headers->{'HIERARCH.ESO.DET.MODE.NAME'} ? :
153 0 0 if ($detector_mode =~ /Uncorr/) { }
154 0 0 if ($chop) { }
160 0 0 if ($chop) { }
174 0 0 if (exists $FITS_headers->{'EQUINOX'})
184 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.INS.GRAT.NAME'})
194 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.INS.GRAT.ORDER'})
204 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.INS.GRAT.WLEN'})
239 0 0 exists $FITS_headers->{'HIERARCH.ESO.DPR.TYPE'} ? :
240 0 0 if ($type eq 'STD') { }
0 0 elsif ($type eq 'SKY,FLAT' or $type eq 'FLAT,SKY') { }
0 0 elsif ($type eq 'LAMP,FLAT' or $type eq 'FLAT,LAMP') { }
0 0 elsif ($type eq 'LAMP' or $type eq 'WAVE,LAMP') { }
265 0 0 if (exists $FITS_headers->{'OBJECT'})
269 0 0 if ($object =~ /STD/)
270 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.OBS.TARG.NAME'}) { }
284 0 0 if (exists $FITS_headers->{'RA'})
287 0 0 defined $ra ? :
307 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.ADA.POSANG'})
324 0 0 if (uc($type) =~ /STD/)
357 0 0 if (exists $FITS_headers->{'DATE-OBS'}) { }
0 0 elsif (exists $FITS_headers->{'UTC'}) { }
0 0 elsif (exists $FITS_headers->{'HIERARCH.ESO.OBS.START'}) { }
381 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.ADA.POSANG'}) { }
0 0 elsif (exists $FITS_headers->{'HIERARCH.ESO.SEQ.ROT.OFFANGLE'}) { }
0 0 elsif (exists $FITS_headers->{'CROTA1'}) { }
404 0 0 if (exists $FITS_headers->{'CRPIX1'}) { }
0 0 elsif (exists $FITS_headers->{'HIERARCH.ESO.DET.WIN.STARTX'} and exists $FITS_headers->{'HIERARCH.ESO.DET.WIN.NX'}) { }
447 0 0 if (exists $FITS_headers->{'CRPIX2'}) { }
0 0 elsif (exists $FITS_headers->{'HIERARCH.ESO.DET.WIN.STARTY'} and exists $FITS_headers->{'HIERARCH.ESO.DET.WIN.NY'}) { }
479 0 0 if ($mode eq 'IMAGE' or $mode eq 'POLARIMETRY') { }
0 0 elsif ($mode =~ /SPECTRUM/) { }
506 0 0 if (exists $FITS_headers->{'UTC'}) { }
0 0 elsif (exists $FITS_headers->{'HIERARCH.ESO.OBS.START'}) { }
530 0 0 if (exists $FITS_headers->{'PC001001'}) { }
0 0 elsif (exists $FITS_headers->{'CD1_1'} and exists $FITS_headers->{'CD2_1'}) { }
544 0 0 if ($cd11 * $cd22 - $cd12 * $cd21 < 0) { }
551 0 0 if ($cdelt1 < 0) { }
561 0 0 if (uc $self->get_instrument_mode($FITS_headers) eq 'SPECTROSCOPY' and exists $FITS_headers->{'HIERARCH.ESO.ADA.POSANG'}) { }