Branch Coverage

blib/lib/Webservice/Shipment/Carrier/USPS.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
42 6 12 unless my $t = $targets{$target}
43 3 9 unless my $addr = $dom->at($t)
51 3 0 if $class
58 0 3 unless $summary
60 3 0 $event =~ /delivered/i ? :
63 3 0 $desc ? :
66 3 0 $date ? :
69 3 0 if ($date)
70 3 0 if (my $time = $summary->at('EventTime'))
76 0 3 if $@
90 2 1 unless ($cb)
99 0 1 unless $tx->success