Condition Coverage

blib/lib/Astro/FITS/HdrTrans/CGS4Old.pm
Criterion Covered Total %
condition 34 70 48.5


and 3 conditions

line !l l&&!r l&&r condition
87 16 0 6 exists $headers->{'IDATE'} and defined $headers->{'IDATE'}
16 0 6 exists $headers->{'IDATE'} and defined $headers->{'IDATE'} and $headers->{'IDATE'} =~ /\d{8}/
0 0 6 exists $headers->{'IDATE'} and defined $headers->{'IDATE'} and $headers->{'IDATE'} =~ /\d{8}/ and $headers->{'IDATE'} < 20081115
0 0 6 exists $headers->{'IDATE'} and defined $headers->{'IDATE'} and $headers->{'IDATE'} =~ /\d{8}/ and $headers->{'IDATE'} < 20081115 and exists $headers->{'INSTRUME'}
0 0 6 exists $headers->{'IDATE'} and defined $headers->{'IDATE'} and $headers->{'IDATE'} =~ /\d{8}/ and $headers->{'IDATE'} < 20081115 and exists $headers->{'INSTRUME'} and defined $headers->{'INSTRUME'}
0 0 6 exists $headers->{'IDATE'} and defined $headers->{'IDATE'} and $headers->{'IDATE'} =~ /\d{8}/ and $headers->{'IDATE'} < 20081115 and exists $headers->{'INSTRUME'} and defined $headers->{'INSTRUME'} and not exists $headers->{'RAJ2000'}
0 4 2 exists $headers->{'IDATE'} and defined $headers->{'IDATE'} and $headers->{'IDATE'} =~ /\d{8}/ and $headers->{'IDATE'} < 20081115 and exists $headers->{'INSTRUME'} and defined $headers->{'INSTRUME'} and not exists $headers->{'RAJ2000'} and uc $headers->{'INSTRUME'} eq 'CGS4'
101 4 0 16 exists $headers->{'UTDATE'} and defined $headers->{'UTDATE'}
4 4 12 exists $headers->{'UTDATE'} and defined $headers->{'UTDATE'} and $headers->{'UTDATE'} =~ /\d{8}/
4 1 11 exists $headers->{'UTDATE'} and defined $headers->{'UTDATE'} and $headers->{'UTDATE'} =~ /\d{8}/ and $headers->{'UTDATE'} < 20081115
5 9 2 exists $headers->{'UTDATE'} and defined $headers->{'UTDATE'} and $headers->{'UTDATE'} =~ /\d{8}/ and $headers->{'UTDATE'} < 20081115 and exists $headers->{'INSTRUMENT'}
9 0 2 exists $headers->{'UTDATE'} and defined $headers->{'UTDATE'} and $headers->{'UTDATE'} =~ /\d{8}/ and $headers->{'UTDATE'} < 20081115 and exists $headers->{'INSTRUMENT'} and defined $headers->{'INSTRUMENT'}
9 0 2 exists $headers->{'UTDATE'} and defined $headers->{'UTDATE'} and $headers->{'UTDATE'} =~ /\d{8}/ and $headers->{'UTDATE'} < 20081115 and exists $headers->{'INSTRUMENT'} and defined $headers->{'INSTRUMENT'} and uc $headers->{'INSTRUMENT'} eq 'CGS4'
156 0 0 2 exists $FITS_headers->{'IDATE'} and defined $FITS_headers->{'IDATE'}
178 0 0 2 exists $generic_headers->{'UTDATE'} and defined $generic_headers->{'UTDATE'}
181 0 0 2 exists $generic_headers->{'DEC_TELESCOPE_OFFSET'} and defined $generic_headers->{'DEC_TELESCOPE_OFFSET'}
190 0 0 0 exists $generic_headers->{'DEC_TELESCOPE_OFFSET'} and defined $generic_headers->{'DEC_TELESCOPE_OFFSET'}
209 0 0 2 exists $FITS_headers->{'IDATE'} and defined $FITS_headers->{'IDATE'}
231 0 0 2 exists $generic_headers->{'UTDATE'} and defined $generic_headers->{'UTDATE'}
234 0 0 2 exists $generic_headers->{'RA_TELESCOPE_OFFSET'} and defined $generic_headers->{'RA_TELESCOPE_OFFSET'}
243 0 0 0 exists $generic_headers->{'RA_TELESCOPE_OFFSET'} and defined $generic_headers->{'RA_TELESCOPE_OFFSET'}
292 0 0 2 exists $FITS_headers->{'DETINCR'} and exists $FITS_headers->{'DETNINCR'}

or 2 conditions

line l !l condition
293 2 0 $FITS_headers->{'DETINCR'} || 1
294 2 0 $FITS_headers->{'DETNINCR'} || 1