Branch Coverage

blib/lib/Webservice/Shipment/Carrier/UPS.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
50 0 24 unless my $t = $targets{$target}
51 12 12 unless my $addr = $dom->at("Shipment ShipTo Address $t")
57 0 4 unless my $service = $dom->at('Shipment Service Description')
59 3 1 unless $text =~ /UPS/
78 4 0 if ($d) { }
89 0 0 $status ? :
99 0 4 unless my $weight = $dom->at('Shipment ShipmentWeight')
114 3 1 unless ($cb)
123 0 1 unless $tx->success
136 0 4 unless $dom->at('Response ResponseStatusCode')->text