Branch Coverage

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


line true false branch
88 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.TEL.AIRM.END'}) { }
0 0 elsif (exists $FITS_headers->{'AIRMASS'}) { }
106 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.TEL.AIRM.START'}) { }
0 0 elsif (exists $FITS_headers->{'AIRMASS'}) { }
124 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.INS.GRAT.ENC'})
134 0 0 if (exists $FITS_headers->{'DEC'})
137 0 0 defined $dec ? :
152 0 0 defined $chop ? :
154 0 0 exists $FITS_headers->{'HIERARCH.ESO.DET.MODE.NAME'} ? :
155 0 0 if ($detector_mode =~ /Uncorr/) { }
156 0 0 if ($chop) { }
162 0 0 if ($chop) { }
176 0 0 if (exists $FITS_headers->{'EQUINOX'})
186 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.INS.GRAT.NAME'})
196 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.INS.GRAT.ORDER'})
206 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.INS.GRAT.WLEN'})
241 0 0 exists $FITS_headers->{'HIERARCH.ESO.DPR.TYPE'} ? :
242 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') { }
267 0 0 if (exists $FITS_headers->{'OBJECT'})
271 0 0 if ($object =~ /STD/)
272 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.OBS.TARG.NAME'}) { }
286 0 0 if (exists $FITS_headers->{'RA'})
289 0 0 defined $ra ? :
309 0 0 if (exists $FITS_headers->{'HIERARCH.ESO.ADA.POSANG'})
326 0 0 if (uc($type) =~ /STD/)
359 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'}) { }
383 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'}) { }
406 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'}) { }
449 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'}) { }
481 0 0 if ($mode eq 'IMAGE' or $mode eq 'POLARIMETRY') { }
0 0 elsif ($mode =~ /SPECTRUM/) { }
508 0 0 if (exists $FITS_headers->{'UTC'}) { }
0 0 elsif (exists $FITS_headers->{'HIERARCH.ESO.OBS.START'}) { }
532 0 0 if (exists $FITS_headers->{'PC001001'}) { }
0 0 elsif (exists $FITS_headers->{'CD1_1'} and exists $FITS_headers->{'CD2_1'}) { }
546 0 0 if ($cd11 * $cd22 - $cd12 * $cd21 < 0) { }
553 0 0 if ($cdelt1 < 0) { }
563 0 0 if (uc $self->get_instrument_mode($FITS_headers) eq 'SPECTROSCOPY' and exists $FITS_headers->{'HIERARCH.ESO.ADA.POSANG'}) { }