| line |
true |
false |
branch |
|
55
|
0 |
0 |
unless my($year, $month, $day, $hour, $min, $sec, $tz) = $date =~ /^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(Z|[+-]\d{4})$/u |
|
59
|
0 |
0 |
if ($tz eq "Z") |
|
63
|
0 |
0 |
unless my $tp = eval {
do {
"Time::Piece"->strptime("$year $month $day $hour $min $sec $tz", "%Y %m %d %H %M %S %z")
}
} |
|
87
|
0 |
0 |
unless ($HAS_PDFINFO) |
|
92
|
0 |
0 |
unless ($? >> 8 == 0) |
|
98
|
0 |
0 |
unless (exists $meta{$field} and $content) |
|
118
|
0 |
0 |
unless ($? >> 8 == 0) |
|
124
|
0 |
0 |
unless defined $format |
|
153
|
0 |
0 |
unless (defined $self->{'Metadata'}->format) |
|
166
|
0 |
0 |
unless ($HAS_PDFTOHTML) |
|
171
|
0 |
0 |
unless ($? >> 8 == 0) |
|
184
|
0 |
0 |
if (defined $out) { } |
|
185
|
0 |
0 |
unless open my $fh, ">", $out |
|
202
|
0 |
0 |
unless ($HAS_PDFTOHTML) |
|
207
|
0 |
0 |
unless ($? >> 8 == 0) |
|
220
|
0 |
0 |
if (defined $out) { } |
|
221
|
0 |
0 |
unless open my $fh, ">", $out |
|
249
|
0 |
0 |
unless ($HAS_PDFTOPNG or $HAS_CONVERT) |
|
255
|
0 |
0 |
if ($HAS_PDFTOPNG) { } |
|
|
0 |
0 |
elsif ($HAS_CONVERT) { } |
|
260
|
0 |
0 |
unless ($? >> 8 == 0) |
|
265
|
0 |
0 |
unless (defined $png) |
|
278
|
0 |
0 |
unless (-f $tmppath) |
|
287
|
0 |
0 |
unless open my $fh, "<", $png |
|
302
|
0 |
0 |
unless (defined $self->{'_imgdir'}) |
|
315
|
0 |
0 |
if ($n >= $self->image_num) |
|
319
|
0 |
0 |
unless open my $fh, "<", $self->{'_images'}[$n][0] |