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 ($objectContent =~ /^(\d+ \d+ obj\s*<<)(.+)(>>\s*stream)/s) { } |
552
|
0 |
0 |
if $objectContent =~ /^(\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 |
614
|
0 |
0 |
unless $objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R] |
651
|
0 |
0 |
unless $objectContent =~ m(/Kids\s*\[([^\]]+)) |
660
|
0 |
0 |
unless @pageObjBackup |
663
|
0 |
0 |
if ($objectContent =~ m[/Count\s+(\d+)]) { } |
664
|
0 |
0 |
if ($pageAccumulator + $1 < $pagenumber) { } |
667
|
0 |
0 |
if $objectContent =~ m(/Kids\s*\[([^\]]+)) |
674
|
0 |
0 |
if $pageAccumulator == $pagenumber |
688
|
0 |
0 |
unless $objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R] |
690
|
0 |
0 |
unless $objectContent =~ /MediaBox/ |
694
|
0 |
0 |
unless (@GmediaBox) |
696
|
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/) { } |
700
|
0 |
0 |
if ($ref =~ /\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/) { } |
720
|
0 |
0 |
if $objContent =~ m[/Contents\s+(\d+)] or $objContent =~ m(/Contents\s*\[\s*(\d+)\s+\d+\s+R\s*\]) |
734
|
0 |
0 |
if $objContent =~ /Resources\s+(\d+\s+\d+\s+R)/ |
735
|
0 |
0 |
if ($objContent =~ m[^.+/Resources]s) |
742
|
0 |
0 |
if (/\S/) |
744
|
0 |
0 |
if /< |
745
|
0 |
0 |
if />>/ |
746
|
0 |
0 |
if $k == 0 |
758
|
0 |
0 |
if defined $maxPages |
761
|
0 |
0 |
unless eval {
do {
$objectContent = getContentOfObjectNr($GrootNr);
1
}
} |
762
|
0 |
0 |
if ($objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R]) |
764
|
0 |
0 |
if $objectContent =~ m[/Count\s+(\d+)] |
775
|
0 |
0 |
unless &getInputFileWeight |
777
|
0 |
0 |
unless open $IN_FILE, "<", $GinFile |
781
|
0 |
0 |
if $c ne "%PDF-" |
785
|
0 |
0 |
unless $GrootNr > 0 |
798
|
0 |
0 |
if $known |
836
|
0 |
0 |
if exists $known{$1} |
853
|
0 |
0 |
if $readBytes =~ /^(\d+)\s+(\d+)/ |
861
|
0 |
0 |
if $Gpos |
866
|
0 |
0 |
unless open $OUT_FILE, ">", $outputfile |