Branch Coverage

blib/lib/Astro/FITS/HdrTrans/WFCAM.pm
Criterion Covered Total %
branch 16 46 34.7


line true false branch
112 0 1 if (defined $FITS_headers->{'BUNIT'}) { }
117 0 1 if ($date > 20061023 and $date < 20061220)
120 0 0 if (substr($read_type, 0, 2) eq 'ND')
146 1 0 if (defined $camnum)
147 1 0 if (defined $FITS_headers->{'CD2_1'} and defined $FITS_headers->{'CD1_2'} and defined $FITS_headers->{'CD2_2'})
151 1 0 if ($camnum == 1) { }
0 0 elsif ($camnum == 3) { }
0 0 elsif ($camnum == 2 or $camnum == 4) { }
180 1 0 if (defined $dec_scale and defined $camnum)
183 1 0 if ($camnum == 1 or $camnum == 3) { }
0 0 elsif ($camnum == 2 or $camnum == 4) { }
205 1 0 if (defined $FITS_headers->{'CAMNUM'}) { }
207 1 0 if ($camnum == 1 or $camnum == 2 or $camnum == 3) { }
0 0 elsif ($camnum == 4) { }
240 1 0 defined $FITS_headers->{'NJITTER'} ? :
241 1 0 defined $FITS_headers->{'NUSTEP'} ? :
274 1 0 if (defined $camnum)
275 1 0 if (defined $FITS_headers->{'CD1_1'} and defined $FITS_headers->{'CD1_2'})
278 1 0 if ($camnum == 1 or $camnum == 3) { }
0 0 elsif ($camnum == 2 or $camnum == 4) { }
305 1 0 if (defined $ra_scale and defined $camnum)
308 1 0 if ($camnum == 1 or $camnum == 3) { }
0 0 elsif ($camnum == 2 or $camnum == 4) { }