Branch Coverage

blib/lib/Net/Async/Webservice/UPS/Address.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
103 0 0 unless $self->quality
110 0 0 unless $self->quality
117 0 0 unless $self->quality
124 0 0 unless $self->quality
131 0 0 unless $self->quality
142 0 0 if ($shape eq 'AV') { }
0 0 elsif ($shape eq 'XAV') { }
0 0 elsif ($shape eq 'Ship') { }
144 0 0 $self->is_residential ? :
155 0 0 $self->address ? :
0 0 $self->address2 ? :
0 0 $self->address3 ? :
195 0 0 unless ($data)
196 0 0 if ($$hashref{'postal_code'} and not defined $$hashref{'postal_code_extended'} and $$hashref{'postal_code'} =~ /\A(\d+)-(\d+)\z/)
232 0 0 exists $$data{'ResidentialAddressIndicator'} ? :
0 0 $$data{'AddressClassification'}{'Code'} eq 2 ? :
0 0 exists $$data{'AddressClassification'} ? :
0 0 $$data{'StreetName'} || $$data{'StreetNumberLow'} || $$data{'StreetType'} ? :
0 0 $$data{'AddressLine'}[0] ? :
0 0 $$data{'AddressLine'}[1] ? :
0 0 $$data{'AddressLine'}[2] ? :
0 0 ref $$data{'AddressLine'} eq 'ARRAY' ? :