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
216 9 0 2 defined $hemi and defined $hemi_end

or 2 conditions

line l !l condition
88 22 0 $nums[0] || 0
89 19 3 $nums[1] || 0
90 17 5 $nums[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
135 0 0 21 $sec < 0 or $sec > 60
144 0 0 24 $min < 0 or $min > 60
178 3 7 12 $is_lat // $hemi =~ / ^[SsNn] /msx
4 4 4 $is_lon // $hemi =~ / [EeWw] /msx
0 0 4 $dd < $MIN_VALID_DD or $dd > $MAX_VALID_DD