line |
true |
false |
branch |
142
|
0 |
0 |
unless defined $input |
143
|
0 |
0 |
if ($input =~ /^-h$/ or $input =~ /^--help$/) |
145
|
0 |
0 |
if ($input =~ /^-v$/ or $input =~ /^--version$/) |
151
|
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') { } |
|
0 |
0 |
elsif ($_ eq 'LT') { } |
|
0 |
0 |
elsif ($_ eq 'A4') { } |
165
|
0 |
0 |
if ($pgPerOutputPage == 4) { } |
167
|
0 |
0 |
$inpPgNum >= 5 ? : |
|
0 |
0 |
$inpPgNum >= 9 ? : |
|
0 |
0 |
$inpPgNum >= 13 ? : |
172
|
0 |
0 |
$inpPgNum >= 5 ? : |
|
0 |
0 |
$inpPgNum >= 9 ? : |
|
0 |
0 |
$inpPgNum >= 13 ? : |
180
|
0 |
0 |
if $_ % $pgPerOutputPage == 0 |
182
|
0 |
0 |
if $target_page > $inpPgNum |
184
|
0 |
0 |
$_ % 4 > 1 ? : |
188
|
0 |
0 |
if $numPagImposed == $inpPgNum |
201
|
0 |
0 |
unless $Gpos |
202
|
0 |
0 |
if $Gstream |
215
|
0 |
0 |
unless $Gpos |
217
|
0 |
0 |
unless my $pagenumber = $param->{'page'} |
218
|
0 |
0 |
unless my $x = $param->{'x'} |
219
|
0 |
0 |
unless my $y = $param->{'y'} |
220
|
0 |
0 |
unless my $rotate = $param->{'rotate'} |
228
|
0 |
0 |
unless defined $refNr |
230
|
0 |
0 |
unless $refNr |
270
|
0 |
0 |
if exists $resources{$resourceDict} |
273
|
0 |
0 |
if keys %resources < 10 |
308
|
0 |
0 |
unless $Gparents[0] |
315
|
0 |
0 |
if $Gcounts[0] > 9 |
323
|
0 |
0 |
unless $Gpos |
325
|
0 |
0 |
if $Gstream |
357
|
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 |
unless $rotate |
441
|
0 |
0 |
if $buf =~ /Encrypt/ |
444
|
0 |
0 |
if ($buf =~ m[/Prev\s+\d]) { } |
|
0 |
0 |
elsif ($buf =~ /\bstartxref\s+(\d+)/) { } |
461
|
0 |
0 |
if $xref > &getInputFileWeight |
464
|
0 |
0 |
unless $tempRoot |
478
|
0 |
0 |
if $readBytes =~ /^\s?(\d{10}) \d{5} n/ |
496
|
0 |
0 |
if ($readBytes =~ /^(xref$cr)/) { } |
|
0 |
0 |
elsif ($readBytes =~ /^\d+\s+\d+\s+obj/) { } |
517
|
0 |
0 |
if $buf =~ m[\/Root\s+(\d+)\s+\d+\s+R] |
528
|
0 |
0 |
unless defined $GObjects{$index} |
545
|
0 |
0 |
if ($ObjContent =~ /^(\d+ \d+ obj\s*<<)(.+)(>>\s*stream)/s) { } |
552
|
0 |
0 |
if $ObjContent =~ /^(\d+ \d+ obj)\b/ |
568
|
0 |
0 |
unless &getPageSizeAndSetMediabox |
576
|
0 |
0 |
if (alike($_, $Gpaper{'QuarterLetter'})) |
577
|
0 |
0 |
if (alike($_, $Gpaper{'A6'})) |
578
|
0 |
0 |
if (alike($_, $Gpaper{'HalfLetter'})) |
579
|
0 |
0 |
if (alike($_, $Gpaper{'QuarterLegal'})) |
580
|
0 |
0 |
if (alike($_, $Gpaper{'A5'})) |
581
|
0 |
0 |
if (alike($_, $Gpaper{'HalfLegal'})) |
582
|
0 |
0 |
if (alike($_, $Gpaper{'Letter'})) |
583
|
0 |
0 |
if (alike($_, $Gpaper{'A4'})) |
584
|
0 |
0 |
if (alike($_, $Gpaper{'Legal'})) |
585
|
0 |
0 |
if (alike($_, $Gpaper{'Tabloid'})) |
586
|
0 |
0 |
if (alike($_, $Gpaper{'A3'})) |
597
|
0 |
0 |
if $num1 > $num2 + $tolerance or $num1 < $num2 - $tolerance |
606
|
0 |
0 |
if $pagenumber > &getInputPageCount |
612
|
0 |
0 |
if ($rootObjContent == "") |
616
|
0 |
0 |
unless $rootObjContent =~ m[/Pages\s+(\d+)\s+\d+\s+R] |
654
|
0 |
0 |
unless $ObjContent =~ m(/Kids\s*\[([^\]]+)) |
663
|
0 |
0 |
unless @pageObjBackup |
666
|
0 |
0 |
if ($ObjContent =~ m[/Count\s+(\d+)]) { } |
667
|
0 |
0 |
if ($pageAccumulator + $1 < $pagenumber) { } |
670
|
0 |
0 |
if $ObjContent =~ m(/Kids\s*\[([^\]]+)) |
677
|
0 |
0 |
if $pageAccumulator == $pagenumber |
691
|
0 |
0 |
unless $ObjContent =~ m[/Pages\s+(\d+)\s+\d+\s+R] |
693
|
0 |
0 |
unless $ObjContent =~ /MediaBox/ |
697
|
0 |
0 |
unless (@GmediaBox) |
699
|
0 |
0 |
if (/MediaBox\s*\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/) { } |
|
0 |
0 |
elsif (/MediaBox\s*(\d+)\s+\d+\s+R\b/) { } |
703
|
0 |
0 |
if ($ref =~ /\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/) { } |
723
|
0 |
0 |
if $objContent =~ m[/Contents\s+(\d+)] or $objContent =~ m(/Contents\s*\[\s*(\d+)\s+\d+\s+R\s*\]) |
737
|
0 |
0 |
if $objContent =~ /Resources\s+(\d+\s+\d+\s+R)/ |
738
|
0 |
0 |
if ($objContent =~ m[^.+/Resources]s) |
745
|
0 |
0 |
if (/\S/) |
747
|
0 |
0 |
if /< |
748
|
0 |
0 |
if />>/ |
749
|
0 |
0 |
if $k == 0 |
761
|
0 |
0 |
if defined $maxPages |
764
|
0 |
0 |
unless eval {
do {
$ObjContent = getContentOfObjectNr($GrootNr);
1
}
} |
765
|
0 |
0 |
if ($ObjContent =~ m[/Pages\s+(\d+)\s+\d+\s+R]) |
767
|
0 |
0 |
if $ObjContent =~ m[/Count\s+(\d+)] |
778
|
0 |
0 |
unless &getInputFileWeight |
780
|
0 |
0 |
unless open $IN_FILE, "<", $GinFile |
784
|
0 |
0 |
if $c ne "%PDF-" |
788
|
0 |
0 |
unless $GrootNr > 0 |
801
|
0 |
0 |
if $known |
839
|
0 |
0 |
if exists $known{$1} |
856
|
0 |
0 |
if $readBytes =~ /^(\d+)\s+(\d+)/ |
864
|
0 |
0 |
if $Gpos |
869
|
0 |
0 |
unless open $OUT_FILE, ">", $outputfile |