Condition Coverage

blib/lib/Astro/Coords/Equatorial.pm
Criterion Covered Total %
condition 44 110 40.0


and 3 conditions

line !l l&&!r l&&r condition
182 0 0 525 exists $args{'ra'} and exists $args{'dec'}
183 0 0 525 defined $args{'ra'} and defined $args{'dec'}
202 525 0 0 exists $args{'epoch'} && defined $args{'epoch'}
206 525 0 0 $epoch != 2000 and $pm1 != 0 || $pm2 != 0 || $parallax != 0
209 0 0 0 exists $args{'rv'} && $args{'rv'}
211 0 0 0 $pm1 != 0 || $pm2 != 0 and not $parallax
225 0 0 501 exists $args{'ra'} and exists $args{'dec'}
226 0 0 501 defined $args{'ra'} and defined $args{'dec'}
239 499 0 2 exists $args{'epoch'} && defined $args{'epoch'}
246 0 0 1 exists $args{'rv'} && $args{'rv'}
248 0 1 0 $pm1 != 0 || $pm2 != 0 and not $parallax
280 0 0 3 exists $args{'long'} and exists $args{'lat'}
281 0 0 3 defined $args{'long'} and defined $args{'lat'}
286 0 0 0 exists $args{'long'} and exists $args{'lat'}
287 0 0 0 defined $args{'long'} and defined $args{'lat'}
393 2 0 105 $sys eq "FK5" and $equ == 2000
581 0 0 0 $pm1 != 0 || $pm2 != 0 and not $parallax
609 2616 0 18 defined $ra_app and defined $dec_app
758 996 496 0 $event != 1 and $event != -1
768 708 250 534 $diff >= 0 and $event == 1
250 462 246 $diff <= 0 and $event == -1

or 2 conditions

line l !l condition
356 2 105 shift() || 'J2000'

or 3 conditions

line l !l&&r !l&&!r condition
136 0 1029 0 ref $proto || $proto
206 0 0 0 $pm1 != 0 || $pm2 != 0 || $parallax != 0
211 0 0 0 $pm1 != 0 || $pm2 != 0
244 1 0 500 $pm1 != 0 or $pm2 != 0
1 0 500 $pm1 != 0 or $pm2 != 0 or $parallax != 0
248 1 0 0 $pm1 != 0 || $pm2 != 0
372 3 0 104 $pm[0] != 0 or $pm[1] != 0
3 0 104 $pm[0] != 0 or $pm[1] != 0 or $par != 0
581 0 0 0 $pm1 != 0 || $pm2 != 0
623 0 0 2616 $par != 0 or $pm[0] != 0
0 0 2616 $par != 0 or $pm[0] != 0 or $pm[1] != 0
752 0 0 1492 $self->parallax or $self->pm
758 0 0 1492 not defined $event or $event != 1 and $event != -1
768 534 246 712 $diff >= 0 and $event == 1 or $diff <= 0 and $event == -1
796 0 0 1547 $self->parallax or $self->pm