Branch Coverage

blib/lib/Astro/DSS/JPEG.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
182 3 2 if ($opts{'target'} and not defined $opts{'ra'} && defined $opts{'dec'})
191 2 1 if ($res->is_success) { }
192 1 1 if $opts{'filename'}
214 1 2 if $opts{'filename'}
221 10 8 if defined $opts{'ra'} and defined $opts{'dec'}
229 1 9 if $opts{'epoch'} and $opts{'epoch'} != 2000
234 4 6 if ($opts{'angular_size'} =~ /(\S+)\s*[,xX]\s*(\S+)/)
238 3 7 if ($opts{'pixel_size'} =~ /(\S+)\s*[,xX]\s*(\S+)/)
243 7 3 unless $opts{'angular_size_y'}
245 8 2 unless $opts{'pixel_size_y'}
259 3 2 if ($res->is_success) { }
261 2 1 if ($simbad =~ /\(ICRS,ep=J2000,eq=2000\): (\S+ \S+ \S+)\s+(\S+ \S+ \S+)/) { }
267 1 1 if ($simbad =~ /Angular size:\s*([0-9.]+)/)