Branch Coverage

blib/lib/Geo/Compass/Direction.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
22 1 1680 unless (defined $deg)
25 1002 5 unless ($deg =~ /^\d+$/ or $deg =~ /^\d+\.\d+$/)
28 640 38 if ($deg < 0 or $deg > 360)