Condition Coverage

blib/lib/Geo/Compass/Variation.pm
Criterion Covered Total %
condition 15 15 100.0


and 3 conditions

line !l l&&!r l&&r condition
136 5 24 4 defined $alt and not $alt =~ /^\d+$/
137 6 20 3 defined $year and not $year =~ /^-?\d+(?:\.\d+)?$/

or 3 conditions

line l !l&&r !l&&!r condition
140 1 1 24 $lat < -180 or $lat > 180
143 1 1 22 $lon < -180 or $lon > 180
150 1 1 20 $year < 2020 or $year > 2024