Branch Coverage

blib/lib/Net/Async/Webservice/UPS/Package.pm
Criterion Covered Total %
branch 19 36 52.7


line true false branch
116 0 0 if ($self->description)
120 0 0 if ($self->length or $self->width or $self->height)
127 0 0 if ($self->length)
130 0 0 if ($self->width)
133 0 0 if ($self->height)
138 0 0 if ($self->weight)
147 0 0 if (my $oversized = $self->is_oversized)
159 0 33 unless ($self->width and $self->height and $self->length and $self->weight)
168 17 16 $self->linear_unit eq 'IN' ? :
185 16 17 $self->weight_unit eq 'LBS' ? :
199 6 24 if ($len > $max_len or $self->weight > $max_weight or $size > $max_size)
203 0 24 if $size <= $min_size
204 12 12 if ($size <= $os1_size)
205 6 6 $self->weight < $os1_weight ? :
207 6 6 if ($size <= $os2_size)
208 3 3 $self->weight < $os2_weight ? :
210 6 0 if ($size <= $os3_size)
211 3 3 $self->weight < $os3_weight ? :