Branch Coverage

blib/lib/WebService/Geocodio/Location.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
26 2 5 if (ref $args[0] eq 'HASH') { }
1 4 elsif (@args % 2 == 1) { }
28 2 0 if exists $$hr{'accuracy'}
29 2 0 if exists $$hr{'formatted_address'}
30 0 2 if exists $$hr{'fields'}
31 12 2 if exists $$hr{'address_components'}{$_}
32 4 0 if exists $$hr{'location'}{$_}
47 3 4 if $self->has_formatted
49 0 2 unless ($self->has_zip or $self->has_city and $self->has_state)
54 1 0 if ($self->has_number and $self->has_street and $self->suffix)
56 1 0 if ($self->has_postdirection) { }
67 2 2 if ($self->has_zip) { }
80 0 0 unless ($self->has_lat and $self->has_lng)