Branch Coverage

lib/PostScript/Simple/EPS.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
152 0 0 unless (defined $self->{'file'} or defined $self->{'source'})
155 0 0 if (defined $self->{'file'} and defined $self->{'source'})
173 0 0 if (defined $self->{'source'}) { }
174 0 0 unless $self->_getsourcebbox
176 0 0 unless _getfilebbox($self)
179 0 0 if ($self->{'bbx2'} - $self->{'bbx1'} == 0 or $self->{'bby2'} - $self->{'bby1'} == 0)
282 0 0 unless defined $y
283 0 0 unless defined $x
317 0 0 unless defined $d
342 0 0 unless defined $y
386 0 0 if defined $self->{'epsfile'}
387 0 0 if defined $self->{'source'}
428 0 0 if defined $self->{'epsfile'}
429 0 0 if defined $self->{'source'}
431 0 0 unless defined $ps
463 0 0 unless defined $self->{'file'}
468 0 0 if (/^\%\%BoundingBox:\s+(-?\d+)\s+(-?\d+)\s+(-?\d+)\s+(-?\d+)\s*$/)
492 0 0 if defined $self->{'epsfile'}
493 0 0 if defined $self->{'source'}
495 0 0 unless defined $$ref
497 0 0 if ($$ref =~ /^\%\%BoundingBox:\s+(-?\d+)\s+(-?\d+)\s+(-?\d+)\s+(-?\d+)$/m)
519 0 0 if scalar @_ != 2
525 0 0 if ($self->{'clip'})
531 0 0 if (defined $self->{'epsfile'}) { }
0 0 elsif (defined $self->{'source'}) { }