line |
true |
false |
branch |
126
|
0 |
0 |
unless defined $input |
128
|
0 |
0 |
if print STDERR "$sayHelp" |
|
0 |
0 |
if ($input =~ /^-h$/ or $input =~ /^--help$/) |
130
|
0 |
0 |
if print STDERR "$sayVersion\n" |
|
0 |
0 |
if ($input =~ /^-v$/ or $input =~ /^--version$/) |
132
|
0 |
0 |
unless -r $input |
135
|
0 |
0 |
if $inpPgNum == 0 |
140
|
0 |
0 |
if ($_ eq 'A6') { } |
|
0 |
0 |
elsif ($_ eq 'A5') { } |
|
0 |
0 |
elsif ($_ eq 'QT') { } |
|
0 |
0 |
elsif ($_ eq 'QG') { } |
|
0 |
0 |
elsif ($_ eq 'HT') { } |
|
0 |
0 |
elsif ($_ eq 'HG') { } |
152
|
0 |
0 |
if ($pgPerOutputPage == 4) { } |
155
|
0 |
0 |
if ($_ >= 13) { } |
|
0 |
0 |
elsif ($_ >= 9) { } |
|
0 |
0 |
elsif ($_ >= 5) { } |
163
|
0 |
0 |
if ($_ >= 13) { } |
|
0 |
0 |
elsif ($_ >= 9) { } |
|
0 |
0 |
elsif ($_ >= 5) { } |
173
|
0 |
0 |
if $_ % $pgPerOutputPage == 0 |
175
|
0 |
0 |
if $target_page > $inpPgNum |
177
|
0 |
0 |
$_ % 4 > 1 ? : |
181
|
0 |
0 |
if $numPagImposed == $inpPgNum |
194
|
0 |
0 |
unless $Gpos |
195
|
0 |
0 |
if $Gstream |
208
|
0 |
0 |
unless $Gpos |
210
|
0 |
0 |
unless my $pagenumber = $param->{'page'} |
211
|
0 |
0 |
unless my $x = $param->{'x'} |
212
|
0 |
0 |
unless my $y = $param->{'y'} |
213
|
0 |
0 |
unless my $rotate = $param->{'rotate'} |
220
|
0 |
0 |
unless defined $refNr |
222
|
0 |
0 |
unless $refNr |
247
|
0 |
0 |
if (%GpageXObject) |
265
|
0 |
0 |
if exists $resources{$resourceDict} |
268
|
0 |
0 |
if keys %resources < 10 |
303
|
0 |
0 |
unless ($Gparents[0]) |
312
|
0 |
0 |
if $Gcounts[0] > 9 |
320
|
0 |
0 |
unless $Gpos |
322
|
0 |
0 |
if $Gstream |
354
|
0 |
0 |
unless ($Gparents[$j]) |
385
|
0 |
0 |
defined $Gparents[0] ? : |
387
|
0 |
0 |
if (defined $Gparents[$i]) |
391
|
0 |
0 |
if ($Gparents[$j]) |
422
|
0 |
0 |
if ($rotate) |
441
|
0 |
0 |
if $buf =~ /Encrypt/ |
444
|
0 |
0 |
if ($buf =~ m[/Prev\s+\d]) { } |
|
0 |
0 |
elsif ($buf =~ /\bstartxref\s+(\d+)/) { } |
462
|
0 |
0 |
if $xref > (stat $GinFile)[7] |
464
|
0 |
0 |
if defined $GrootNr |
466
|
0 |
0 |
unless $tempRoot |
480
|
0 |
0 |
if $readBytes =~ /^\s?(\d{10}) \d{5} n/ |
498
|
0 |
0 |
if ($readBytes =~ /^(xref$cr)/) { } |
|
0 |
0 |
elsif ($readBytes =~ /^\d+\s+\d+\s+obj/i) { } |
519
|
0 |
0 |
if $buf =~ m[\/Root\s+(\d+)\s+\d+\s+R]s |
530
|
0 |
0 |
unless defined $GObjects{$index} |
548
|
0 |
0 |
if ($objectContent =~ /^(\d+ \d+ obj\s*<<)(.+)(>>\s*stream)/s) { } |
555
|
0 |
0 |
if $objectContent =~ /^(\d+ \d+ obj\s*)/s |
575
|
0 |
0 |
unless $objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R]s |
577
|
0 |
0 |
unless $objectContent =~ /MediaBox/s |
580
|
0 |
0 |
unless defined $GmediaBox[2] and defined $GmediaBox[3] |
587
|
0 |
0 |
if (alike($_, $Gpaper{'QuarterLetter'})) |
588
|
0 |
0 |
if (alike($_, $Gpaper{'A6'})) |
589
|
0 |
0 |
if (alike($_, $Gpaper{'HalfLetter'})) |
590
|
0 |
0 |
if (alike($_, $Gpaper{'QuarterLegal'})) |
591
|
0 |
0 |
if (alike($_, $Gpaper{'A5'})) |
592
|
0 |
0 |
if (alike($_, $Gpaper{'HalfLegal'})) |
593
|
0 |
0 |
if (alike($_, $Gpaper{'Letter'})) |
594
|
0 |
0 |
if (alike($_, $Gpaper{'A4'})) |
595
|
0 |
0 |
if (alike($_, $Gpaper{'Legal'})) |
606
|
0 |
0 |
if $hxw > $namedHxw + $tolerance or $hxw < $namedHxw - $tolerance |
621
|
0 |
0 |
unless $objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R]s |
663
|
0 |
0 |
unless $objectContent =~ m(/Kids\s*\[([^\]]+))s |
674
|
0 |
0 |
if ($objectContent =~ m[/Count\s+(\d+)]s) { } |
675
|
0 |
0 |
if ($pageAccumulator + $1 < $pagenumber) { } |
678
|
0 |
0 |
if $objectContent =~ m(/Kids\s*\[([^\]]+))s |
685
|
0 |
0 |
if $pageAccumulator == $pagenumber |
699
|
0 |
0 |
unless (@GmediaBox) |
701
|
0 |
0 |
if (/MediaBox\s*\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/s) { } |
|
0 |
0 |
elsif (/MediaBox\s*(\d+)\s+\d+\s+R\b/s) { } |
705
|
0 |
0 |
if $ref =~ /\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/s |
711
|
0 |
0 |
if ($objContent =~ m[/Contents\s+(\d+)]s) { } |
|
0 |
0 |
elsif ($objContent =~ m(/Contents\s*\[\s*(\d+)\s+\d+\s+R\s*\])s) { } |
729
|
0 |
0 |
if ($objContent =~ m[^(.+/Resources)]s) |
730
|
0 |
0 |
if $objContent =~ /Resources\s+(\d+\s+\d+\s+R)/s |
737
|
0 |
0 |
if (/\S/s) |
739
|
0 |
0 |
if /<
|
740
|
0 |
0 |
if />>/s |
741
|
0 |
0 |
if $k == 0 |
754
|
0 |
0 |
unless eval {
do {
$objectContent = getObjectContent($GrootNr);
1
}
} |
755
|
0 |
0 |
if ($objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R]s) |
757
|
0 |
0 |
if $objectContent =~ m[/Count\s+(\d+)]s |
769
|
0 |
0 |
unless open $IN_FILE, "<", $GinFile |
774
|
0 |
0 |
if $c ne "%PDF-" |
778
|
0 |
0 |
unless $GrootNr > 0 |
811
|
0 |
0 |
if exists $known{$1} |
831
|
0 |
0 |
if $readBytes =~ /^(\d+)\s+(\d+)/ |
839
|
0 |
0 |
if $Gpos |
844
|
0 |
0 |
unless open $OUT_FILE, ">", $outputfile |