Condition Coverage

blib/lib/Astro/Coords/Elements.pm
Criterion Covered Total %
condition 17 39 43.5


and 3 conditions

line !l l&&!r l&&r condition
108 0 0 5 exists $opts{'elements'} and ref $opts{'elements'}
113 0 0 1 ref $opts{'elements'} eq "ARRAY" and $opts{'elements'}[0] eq "ELEMENTS"
124 0 0 1 not defined $elements{'AORL'} and defined $opts{'elements'}[$i]
255 0 0 1 defined $el{'EPOCHPERIH'} and not defined $el{'DM'}
0 0 1 defined $el{'EPOCHPERIH'} and not defined $el{'DM'} and not defined $el{'AORL'}
329 20 0 3 defined $ra_app and defined $dec_app
336 20 0 0 exists $el{'DM'} and defined $el{'DM'}
19 1 0 exists $el{'AORL'} and defined $el{'AORL'}
351 0 0 20 exists $el{'EPOCH'} and exists $el{'EPOCHPERIH'}

or 3 conditions

line l !l&&r !l&&!r condition
103 0 5 0 ref $proto || $proto
155 4 4 2 $epoch =~ /^\d+\.\d+$/ or $epoch =~ /^\d+$/
190 5 0 0 exists $elements{'EPOCH'} or exists $elements{'EPOCHPERIH'}
361 0 20 0 $jform == 2 or $jform == 3