Branch Coverage

blib/lib/Acme/Geo/Whitwell/Name.pm
Criterion Covered Total %
branch 36 36 100.0


line true false branch
160 1 40 unless looks_like_number $coord
164 24 16 unless $is_negative
166 2 38 $is_negative && $is_positive ? :
167 2 36 if $conflicting or $is_negative > 1 or $is_positive > 1
176 16 65 if (exists $vowel{$letter} and $is_negative and not $signed)
199 11 67 unless $coord
201 2 76 if (abs $coord > 180)
204 24 52 unless ($coord =~ /\./)
232 5 5 if ($negative) { }
233 2 3 if ($opts{'signed'}) { }
241 3 2 unless ($opts{'signed'})
248 4 6 if ($negative) { }
249 2 2 if ($opts{'signed'}) { }
257 4 2 unless ($opts{'signed'})
289 35 80 if ($try_sign)
292 11 24 if ($string =~ s/^[vs]//)
308 102 556 if ($string =~ s/^$char//)
323 24 1 if (length $coord_string >= 3) { }