| line |
true |
false |
branch |
|
56
|
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 |
|
60
|
0 |
0 |
if ($tz eq "Z") |
|
64
|
0 |
0 |
unless my $tp = eval {
do {
"Time::Piece"->strptime("$year $month $day $hour $min $sec $tz", "%Y %m %d %H %M %S %z")
}
} |
|
88
|
0 |
0 |
unless ($HAS_PDFINFO) |
|
93
|
0 |
0 |
unless ($? >> 8 == 0) |
|
99
|
0 |
0 |
unless (exists $meta{$field} and $content) |
|
119
|
0 |
0 |
unless ($? >> 8 == 0) |
|
125
|
0 |
0 |
unless defined $format |
|
154
|
0 |
0 |
unless (defined $self->{'Metadata'}->format) |
|
167
|
0 |
0 |
unless ($HAS_PDFTOHTML) |
|
172
|
0 |
0 |
unless ($? >> 8 == 0) |
|
186
|
0 |
0 |
if (defined $out) { } |
|
187
|
0 |
0 |
unless open my $fh, ">", $out |
|
204
|
0 |
0 |
unless ($HAS_PDFTOHTML) |
|
209
|
0 |
0 |
unless ($? >> 8 == 0) |
|
223
|
0 |
0 |
if (defined $out) { } |
|
224
|
0 |
0 |
unless open my $fh, ">", $out |
|
252
|
0 |
0 |
unless ($HAS_PDFTOPNG or $HAS_CONVERT) |
|
258
|
0 |
0 |
if ($HAS_PDFTOPNG) { } |
|
|
0 |
0 |
elsif ($HAS_CONVERT) { } |
|
263
|
0 |
0 |
unless ($? >> 8 == 0) |
|
268
|
0 |
0 |
unless (defined $png) |
|
281
|
0 |
0 |
unless (-f $tmppath) |
|
290
|
0 |
0 |
unless open my $fh, "<", $png |
|
305
|
0 |
0 |
unless (defined $self->{'_imgdir'}) |
|
318
|
0 |
0 |
if ($n >= $self->image_num) |
|
322
|
0 |
0 |
unless open my $fh, "<", $self->{'_images'}[$n][0] |