Branch Coverage

blib/lib/Astro/FITS/HdrTrans/SCUBA2.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
106 3 0 if (exists $FITS_headers->{'SAM_MODE'} and exists $FITS_headers->{'OBS_TYPE'})
114 2 1 unless ($obs_type =~ /science/i)
115 0 2 if ($obs_type =~ /(setup)/i) { }
135 3 0 defined $general ? :
153 0 3 if (defined $survey and $survey =~ /sassy/i)
154 0 0 unless ($dr =~ /sassy/i)
173 1 2 unless defined $inbeam
175 2 0 $inbeam =~ /\bpol/i ? :
204 1 2 unless defined $inbeam
206 2 0 $inbeam =~ /\bfts/i ? :
247 2 0 if $generic_headers->{'FOURIER_TRANSFORM_SPECTROMETER'}
249 2 0 if $generic_headers->{'POLARIMETER'}
253 2 0 if scalar @components