Branch Coverage

blib/lib/Business/Shipping/Shipment.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
93 0 0 if ($in_weight) { }
99 0 0 unless defined $package->weight
135 0 0 if ($_[0])
141 0 0 if ($self->domestic and $to_zip and length $to_zip > 5)
168 0 0 if (defined $to_country)
176 0 0 if defined $to_country
195 0 0 unless return $$country_abbrevs{$self->to_country}
206 0 0 if (defined $from_country)
211 0 0 if defined $from_country
222 0 0 unless $self->from_country
243 0 0 unless $self->to_country
244 0 0 if $self->to_canada or $self->domestic
259 0 0 if ($self->to_country)
260 0 0 unless ($self->to_country =~ /(US)|(United States)/)
277 0 0 if ($self->intl)
293 0 0 if ($self->from_country)
294 0 0 if ($self->from_country =~ /^((CA)|(Canada))$/i)
311 0 0 if ($self->to_country)
312 0 0 if ($self->to_country =~ /^((CA)|(Canada))$/i)
329 0 0 unless $self->to_zip
343 0 0 if ($zips =~ /$to_zip/)
365 0 0 unless ($self->shipper)
377 0 0 if $@
378 0 0 unless defined $package
384 0 0 if (defined $package->id)