Condition Coverage

blib/lib/Astro/FITS/HdrTrans/ACSIS.pm
Criterion Covered Total %
condition 38 108 35.1


and 3 conditions

line !l l&&!r l&&r condition
100 18 0 3 exists $headers->{'BACKEND'} and defined $headers->{'BACKEND'}
18 1 2 exists $headers->{'BACKEND'} and defined $headers->{'BACKEND'} and $headers->{'BACKEND'} =~ /^ACSIS/i
18 0 1 exists $headers->{'BACKEND'} and defined $headers->{'BACKEND'}
18 0 1 exists $headers->{'BACKEND'} and defined $headers->{'BACKEND'} and $headers->{'BACKEND'} =~ /^DAS/i
0 0 1 exists $headers->{'GSDFILE'} && exists $headers->{'SCA#'}
0 1 0 exists $headers->{'BACKEND'} and defined $headers->{'BACKEND'} and $headers->{'BACKEND'} =~ /^DAS/i and not exists $headers->{'GSDFILE'} && exists $headers->{'SCA#'}
19 0 0 exists $headers->{'INST_DHS'} and defined $headers->{'INST_DHS'}
19 0 0 exists $headers->{'INST_DHS'} and defined $headers->{'INST_DHS'} and $headers->{'INST_DHS'} eq 'ACSIS'
164 1 0 0 $obstype eq 'skydip' and $dr eq 'REDUCE_SCIENCE'
171 1 0 0 $standard and $is_sci
176 1 0 0 $utdate > 20081115 and $pol
1 0 0 $utdate > 20081115 and $pol and $is_sci
198 0 0 1 defined $ut and $ut < 20080615
199 0 1 0 defined $dr and $dr eq 'REDUCE_SKYDIP'
220 2 0 0 $utdate > 20081115 and defined $inbeam
2 0 0 $utdate > 20081115 and defined $inbeam and $inbeam =~ /pol/i
286 1 0 0 defined $system and defined $base_lon
305 1 0 0 defined $system and defined $base_lat
321 1 0 0 defined $ref_lon and defined $ref_lat
341 0 1 0 defined $FITS_headers->{'SAM_MODE'} and uc $FITS_headers->{'SAM_MODE'} eq 'RASTER'
402 0 0 1 exists $FITS_headers->{'DATE-OBS'} and exists $FITS_headers->{'DATE-END'}
447 0 0 1 exists $FITS_headers->{'OBSID'} and defined $FITS_headers->{'OBSID'}
457 0 0 0 defined $backend and defined $obsnum
0 0 0 defined $backend and defined $obsnum and defined $dateobs
486 0 0 1 exists $FITS_headers->{'SAM_MODE'} and exists $FITS_headers->{'SW_MODE'}
0 0 1 exists $FITS_headers->{'SAM_MODE'} and exists $FITS_headers->{'SW_MODE'} and exists $FITS_headers->{'OBS_TYPE'}
583 1 0 0 defined $frameset and UNIVERSAL::isa($frameset, 'Starlink::AST::FrameSet')
0 1 0 exists $FITS_headers->{'SUBHEADERS'} and exists $FITS_headers->{'SUBHEADERS'}[0]{'RESTFREQ'}
620 0 1 0 exists $FITS_headers->{'DOPPLER'} and defined $FITS_headers->{'DOPPLER'}
623 0 0 0 defined $frameset and UNIVERSAL::isa($frameset, 'Starlink::AST::FrameSet')
716 1 0 0 defined $frameset and UNIVERSAL::isa($frameset, 'Starlink::AST::FrameSet')
737 0 1 0 exists $FITS_headers->{'DOPPLER'} and exists $FITS_headers->{'ZSOURCE'} || exists $FITS_headers->{'SUBHEADERS'}[0]{'ZSOURCE'}
784 0 1 0 defined $fsw and $fsw =~ /freqsw/i

or 3 conditions

line l !l&&r !l&&!r condition
425 0 0 1 $FITS_headers->{'INSTRUME'} =~ /^HARP/ or $FITS_headers->{'INSTRUME'} =~ /^FE_HARP/
583 0 0 1 exists $FITS_headers->{'RESTFREQ'} or exists $FITS_headers->{'SUBHEADERS'} and exists $FITS_headers->{'SUBHEADERS'}[0]{'RESTFREQ'}
737 0 0 1 exists $FITS_headers->{'ZSOURCE'} || exists $FITS_headers->{'SUBHEADERS'}[0]{'ZSOURCE'}