Condition Coverage

blib/lib/Astro/DSS/JPEG.pm
Criterion Covered Total %
condition 27 27 100.0


and 3 conditions

line !l l&&!r l&&r condition
182 1 2 1 defined $opts{'ra'} && defined $opts{'dec'}
1 1 3 $opts{'target'} and not defined $opts{'ra'} && defined $opts{'dec'}
221 7 1 10 defined $opts{'ra'} and defined $opts{'dec'}
229 8 1 1 $opts{'epoch'} and $opts{'epoch'} != 2000

or 2 conditions

line l !l condition
169 1 2 $opts{'dss_url'} || 'http://gsss.stsci.edu/webservices/dssjpg/dss.svc/GetImage'
171 1 2 $opts{'simbad_url'} || 'http://simbad.u-strasbg.fr/simbad/sim-id'
231 5 5 $opts{'angular_size'} ||= 30
232 4 6 $opts{'pixel_size'} ||= 1000
235 3 1 $1 || 30
239 2 1 $1 || 1000

or 3 conditions

line l !l&&r !l&&!r condition
173 1 1 1 $opts{'ua'} || 'LWP::UserAgent'->new('agent', "perl/Astro::DSS::JPEG/$VERSION")