Branch Coverage

blib/lib/Business/PostNL.pm
Criterion Covered Total %
branch 34 40 85.0


line true false branch
98 19 0 if ($cc)
100 15 4 defined $$zones{$cc} ? :
127 59 55 if defined $opt{$_}
130 0 19 unless defined $self->zone and defined $self->weight
134 5 14 if $self->weight > 2000
143 25 9 if $hi > $highest
144 17 17 if ($self->weight >= $lo and $self->weight <= $hi)
149 2 17 if $highest < $self->weight
152 17 2 $self->cost ? :
169 13 6 if ($self->zone) { }
172 1 12 if ($self->large) { }
176 0 1 $self->machine ? :
181 1 0 $self->tracktrace ? :
0 1 $self->register ? :
191 9 3 $self->zone < 4 ? :
195 1 11 $self->machine ? :
199 5 7 $self->register ? :
207 2 4 if ($self->register) { }
211 4 0 $self->large ? :
215 2 4 $self->machine ? :