Condition Coverage

blib/lib/PostScript/MailLabels.pm
Criterion Covered Total %
condition 8 42 19.0


and 3 conditions

line !l l&&!r l&&r condition
184 0 0 0 not defined $index and defined $$self{'COMPONENTS'}{$name}
192 0 0 0 $type ne 'name' and $type ne 'road'
0 0 0 $type ne 'name' and $type ne 'road' and $type ne 'place'
0 0 0 $type ne 'name' and $type ne 'road' and $type ne 'place' and $type ne 'bar'
196 0 0 0 $adj ne 'yes' and $adj ne 'no'
264 0 0 0 $postnet and $#comps > 0
320 6 0 0 defined $args{'units'} and $args{'units'} eq 'metric'
392 0 0 0 $val ne 'portrait' and $val ne 'landscape'

or 3 conditions

line l !l&&r !l&&!r condition
22 0 1 0 ref $proto || $proto
517 0 1 0 $$self{'SETUP'}{'columns'} || int papersize($self)->[0] / ($$self{'SETUP'}{'x_gap'} + $$self{'SETUP'}{'output_width'})
591 0 1 0 $$self{'SETUP'}{'columns'} || int papersize($self)->[0] / ($$self{'SETUP'}{'x_gap'} + $$self{'SETUP'}{'output_width'})
801 0 21 0 $maxlen == 0 or $totlen <= $width
915 0 0 7 not defined $zip or length $zip < 5
1059 8 6 0 not $logical or $$self{'SETUP'}{'orientation'} eq 'portrait'