Branch Coverage

blib/lib/Astro/FITS/HdrTrans/FITS.pm
Criterion Covered Total %
branch 11 40 27.5


line true false branch
100 0 9 if (defined $FITS_headers->{'CD1_1'} or defined $FITS_headers->{'CD1_2'} or defined $FITS_headers->{'CD2_1'} or defined $FITS_headers->{'CD2_2'}) { }
0 9 elsif (defined $FITS_headers->{'PC1_1'} or defined $FITS_headers->{'PC1_2'} or defined $FITS_headers->{'PC2_1'} or defined $FITS_headers->{'PC2_2'}) { }
2 7 elsif (defined $FITS_headers->{'CROTA2'}) { }
102 0 0 defined $FITS_headers->{'CD1_1'} ? :
103 0 0 defined $FITS_headers->{'CD2_1'} ? :
104 0 0 defined $FITS_headers->{'CD1_2'} ? :
105 0 0 defined $FITS_headers->{'CD2_2'} ? :
109 0 0 if ($cd12 < 0) { }
116 0 0 if ($cd21 < 0) { }
131 0 0 defined $FITS_headers->{'PC1_1'} ? :
132 0 0 defined $FITS_headers->{'PC2_1'} ? :
133 0 0 defined $FITS_headers->{'PC1_2'} ? :
134 0 0 defined $FITS_headers->{'PC2_2'} ? :
162 4 0 if (defined $utstart)
179 6 0 if (exists $FITS_headers->{'DATE-END'}) { }
187 6 0 if defined $utend
202 8 0 if (exists $generic_headers->{'UTEND'})
221 11 0 if (exists $FITS_headers->{'DATE-OBS'}) { }
228 11 0 if defined $utstart
243 8 0 if (exists $generic_headers->{'UTSTART'})