Branch Coverage

blib/lib/EBook/Ishmael/EBook/PDF.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
62 0 0 unless ($HAS_PDFINFO)
67 0 0 unless ($? >> 8 == 0)
73 0 0 unless (exists $meta{$field} and $content)
93 0 0 unless ($? >> 8 == 0)
124 0 0 unless (defined $self->{'Metadata'}->format)
137 0 0 unless ($HAS_PDFTOHTML)
142 0 0 unless ($? >> 8 == 0)
155 0 0 if (defined $out) { }
156 0 0 unless open my $fh, ">", $out
173 0 0 unless ($HAS_PDFTOHTML)
178 0 0 unless ($? >> 8 == 0)
191 0 0 if (defined $out) { }
192 0 0 unless open my $fh, ">", $out
221 0 0 unless ($HAS_PDFTOPNG or $HAS_CONVERT)
227 0 0 if ($HAS_PDFTOPNG) { }
0 0 elsif ($HAS_CONVERT) { }
232 0 0 unless ($? >> 8 == 0)
237 0 0 unless (defined $png)
250 0 0 unless (-f $tmppath)
259 0 0 unless open my $rh, "<", $png
265 0 0 if (defined $out) { }
266 0 0 unless open my $wh, ">", $out
282 0 0 unless (defined $self->{'_imgdir'})
295 0 0 if ($n >= $self->image_num)
299 0 0 unless open my $fh, "<", $self->{'_images'}[$n]