Condition Coverage

blib/lib/Location/GeoTool.pm
Criterion Covered Total %
condition 33 56 58.9


and 3 conditions

line !l l&&!r l&&r condition
182 8 221 46 $self->def_datum eq $self->out_datum and $self->def_format eq $self->out_format
183 229 0 0 $self->cache_lat and $self->cache_long
295 78 0 0 $_[0] && ref $_[0] eq 'HASH'
341 293 0 0 wantarray and $self->enableWantarray
349 0 0 229 defined $lat and defined $long
404 426 0 48 $pon and $pon == 1
625 0 0 0 $lat == $tlat and $lon == $tlon
645 0 0 0 abs $d - $x > 5e-11 and $iter < 100

or 2 conditions

line l !l condition
171 74 0 $$self{'def_datum'} ||= 'wgs84'
172 74 0 $$self{'def_format'} ||= 'spacetag'
518 16 0 $_[4] || 'wgs84'
533 12 0 $_[4] || 'wgs84'

or 3 conditions

line l !l&&r !l&&!r condition
235 1 0 2 $method =~ /^create_(\w+)$/ or $method =~ /^set_(\w+)$/
373 32 0 0 $lang or $def_dirstr
384 0 2 32 $degree < 0 or $degree >= 360
404 48 4 422 $pon and $pon == 1 or $s eq '-'
419 64 88 96 $farg eq 'second' or $farg eq 'degree'
152 48 48 $farg eq 'second' or $farg eq 'degree' or $farg eq 'radian'
477 64 146 96 $targ eq 'second' or $targ eq 'degree'
210 48 48 $targ eq 'second' or $targ eq 'degree' or $targ eq 'radian'