Branch Coverage

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


line true false branch
108 3 0 if (exists $FITS_headers->{'SAM_MODE'} and exists $FITS_headers->{'OBS_TYPE'})
116 2 1 unless ($obs_type =~ /science/i)
117 0 2 if ($obs_type =~ /(setup)/i) { }
137 3 0 defined $general ? :
155 0 3 if (defined $survey and $survey =~ /sassy/i)
156 0 0 unless ($dr =~ /sassy/i)
175 1 2 unless defined $inbeam
177 2 0 $inbeam =~ /\bpol/i ? :
206 1 2 unless defined $inbeam
208 2 0 $inbeam =~ /\bfts/i ? :
249 2 0 if $generic_headers->{'FOURIER_TRANSFORM_SPECTROMETER'}
251 2 0 if $generic_headers->{'POLARIMETER'}
255 2 0 if scalar @components