Condition Coverage

blib/lib/Business/Shipping/Shipment/UPS.pm
Criterion Covered Total %
condition 2 18 11.1


and 3 conditions

line !l l&&!r l&&r condition
139 0 0 0 $_[0]->to_canada and $_[0]->offline
140 0 0 0 $_[0]->intl and $_[0]->offline
254 0 0 1 $service and $type
256 1 0 0 $service eq 'shop' and $type eq 'get_map'

or 3 conditions

line l !l&&r !l&&!r condition
116 0 0 0 not $package->weight or $package->weight < 0.1
156 0 0 0 $$state_abbrevs{$self->from_state} || $self->from_state