Condition Coverage

lib/PostScript/Simple.pm
Criterion Covered Total %
condition 27 56 48.2


and 3 conditions

line !l l&&!r l&&r condition
506 6 0 3 defined $self->{'xsize'} && defined $self->{'ysize'}
507 3 0 3 defined $self->{'papersize'} and defined $pspaper{$self->{'papersize'}}
848 2 0 2 not $self->{'eps'} and $self->{'pspagecount'} > 0
1346 0 0 26 defined $x and defined $y
1560 0 0 0 $opt{'align'} and $opt{'align'} eq 'outside'
1729 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
884 4 1 shift() || die('Must supply a filename for output')

or 3 conditions

line l !l&&r !l&&!r condition
430 7 0 505 $2 || $self->{'units'}
764 0 0 4 $x != 0 or $y != 0
1088 4 0 1 shift() || do { $self->_error('setlinewidth not given a width'); return 0 }
1128 8 0 5 $self->{'pspagecount'} or $self->{'eps'}
1233 0 0 0 $self->{'pspagecount'} or $self->{'eps'}
1351 3 20 3 $xoffset || $yoffset || $rotate
1357 3 0 23 $xoffset or $yoffset
1759 1 0 2 $opt{'align'} eq 'center' or $opt{'align'} eq 'centre'
1787 0 0 1 $self->{'pspagecount'} or $self->{'eps'}
1964 0 0 0 $bbw == 0 or $bbh == 0
2092 0 0 0 $self->{'pspagecount'} or $self->{'eps'}