Branch Coverage

blib/lib/Geo/Coder/US/Census.pm
Criterion Covered Total %
branch 4 26 15.3


line true false branch
74 0 1 if (ref $_[0] eq 'HASH') { }
0 1 elsif (ref $_[0]) { }
1 0 elsif (@_ % 2 == 0) { }
85 1 0 unless my $location = $param{'location'}
87 0 0 if (&Encode::is_utf8($location))
91 0 0 if ($location =~ /,?(.+),\s*(United States|US|USA)$/i)
99 0 0 if ($location =~ /^(\d+\s+[\w\s]+),\s*([\w\s]+),\s*[\w\s]+,\s*([A-Za-z]+)$/)
108 0 0 if ($hr->{'street'})
109 0 0 if ($hr->{'number'}) { }
114 0 0 if ($hr->{'suffix'})
126 0 0 if ($res->is_error)
154 0 0 if (@_)
206 0 0 unless scalar @rc