Condition Coverage

lib/PostScript/Simple.pm
Criterion Covered Total %
condition 29 59 49.1


and 3 conditions

line !l l&&!r l&&r condition
502 6 0 3 defined $$self{'xsize'} && defined $$self{'ysize'}
503 3 0 3 defined $$self{'papersize'} and defined $pspaper{$$self{'papersize'}}
814 2 0 2 not $$self{'eps'} and $$self{'pspagecount'} > 0
1253 0 0 26 defined $x and defined $y
1463 0 0 0 $opt{'align'} and $opt{'align'} eq 'outside'
1629 0 0 17 defined $x and defined $y
0 1 16 defined $x and defined $y and defined $text

or 2 conditions

line l !l condition
836 4 1 shift() || die('Must supply a filename for output')

or 3 conditions

line l !l&&r !l&&!r condition
433 7 501 0 $2 || $$self{'units'}
735 0 0 4 $x != 0 or $y != 0
803 2 0 2 length $$self{'pssetup'} or $$self{'copies'} > 1
1001 4 0 1 shift() || do { $self->_error('setlinewidth not given a width'); return 0 }
1041 8 0 4 $$self{'pspagecount'} or $$self{'eps'}
1140 0 0 0 $$self{'pspagecount'} or $$self{'eps'}
1258 3 20 3 $xoffset || $yoffset || $rotate
1264 3 0 23 $xoffset or $yoffset
1658 1 0 2 $opt{'align'} eq 'center' or $opt{'align'} eq 'centre'
1687 0 0 1 $$self{'pspagecount'} or $$self{'eps'}
1859 0 0 0 $bbw == 0 or $bbh == 0
1950 0 0 0 $$self{'pspagecount'} or $$self{'eps'}