Condition Coverage

blib/lib/Geo/Converter/dms2dd.pm
Criterion Covered Total %
condition 16 24 66.6


and 3 conditions

line !l l&&!r l&&r condition
213 5 0 2 defined $hemi and defined $hemi_end

or 2 conditions

line l !l condition
85 18 0 $nums[0] || 0
86 16 2 $nums[1] || 0
87 14 4 $nums[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
132 0 0 18 $sec < 0 or $sec > 60
141 0 0 21 $min < 0 or $min > 60
175 3 7 8 $is_lat // $hemi =~ / [SsNn] /msx
3 4 1 $is_lon // $hemi =~ / [EeWw] /msx
0 0 1 $dd < $MIN_VALID_DD or $dd > $MAX_VALID_DD