| 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 |
|
440
|
0 |
0 |
if $buf =~ /Encrypt/ |
|
443
|
0 |
0 |
if ($buf =~ m[/Prev\s+\d]) { } |
|
|
0 |
0 |
elsif ($buf =~ /\bstartxref\s+(\d+)/) { } |
|
460
|
0 |
0 |
if $xref > &getInputFileWeight |
|
463
|
0 |
0 |
unless $tempRoot |
|
477
|
0 |
0 |
if $readBytes =~ /^\s?(\d{10}) \d{5} n/ |
|
495
|
0 |
0 |
if ($readBytes =~ /^(xref$cr)/) { } |
|
|
0 |
0 |
elsif ($readBytes =~ /^\d+\s+\d+\s+obj/) { } |
|
516
|
0 |
0 |
if $buf =~ m[\/Root\s+(\d+)\s+\d+\s+R] |
|
527
|
0 |
0 |
unless defined $GObjects{$index} |
|
544
|
0 |
0 |
if ($objectContent =~ /^(\d+ \d+ obj\s*<<)(.+)(>>\s*stream)/s) { } |
|
551
|
0 |
0 |
if $objectContent =~ /^(\d+ \d+ obj)\b/ |
|
567
|
0 |
0 |
unless &getPageSizeAndSetMediabox |
|
575
|
0 |
0 |
if (alike($_, $Gpaper{'QuarterLetter'})) |
|
576
|
0 |
0 |
if (alike($_, $Gpaper{'A6'})) |
|
577
|
0 |
0 |
if (alike($_, $Gpaper{'HalfLetter'})) |
|
578
|
0 |
0 |
if (alike($_, $Gpaper{'QuarterLegal'})) |
|
579
|
0 |
0 |
if (alike($_, $Gpaper{'A5'})) |
|
580
|
0 |
0 |
if (alike($_, $Gpaper{'HalfLegal'})) |
|
581
|
0 |
0 |
if (alike($_, $Gpaper{'Letter'})) |
|
582
|
0 |
0 |
if (alike($_, $Gpaper{'A4'})) |
|
583
|
0 |
0 |
if (alike($_, $Gpaper{'Legal'})) |
|
584
|
0 |
0 |
if (alike($_, $Gpaper{'Tabloid'})) |
|
585
|
0 |
0 |
if (alike($_, $Gpaper{'A3'})) |
|
596
|
0 |
0 |
if $num1 > $num2 + $tolerance or $num1 < $num2 - $tolerance |
|
605
|
0 |
0 |
if $pagenumber > &getInputPageCount |
|
613
|
0 |
0 |
unless $objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R] |
|
650
|
0 |
0 |
unless $objectContent =~ m(/Kids\s*\[([^\]]+)) |
|
659
|
0 |
0 |
unless @pageObjBackup |
|
662
|
0 |
0 |
if ($objectContent =~ m[/Count\s+(\d+)]) { } |
|
663
|
0 |
0 |
if ($pageAccumulator + $1 < $pagenumber) { } |
|
666
|
0 |
0 |
if $objectContent =~ m(/Kids\s*\[([^\]]+)) |
|
673
|
0 |
0 |
if $pageAccumulator == $pagenumber |
|
687
|
0 |
0 |
unless $objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R] |
|
689
|
0 |
0 |
unless $objectContent =~ /MediaBox/ |
|
693
|
0 |
0 |
unless (@GmediaBox) |
|
695
|
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/) { } |
|
699
|
0 |
0 |
if ($ref =~ /\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/) { } |
|
719
|
0 |
0 |
if $objContent =~ m[/Contents\s+(\d+)] or $objContent =~ m(/Contents\s*\[\s*(\d+)\s+\d+\s+R\s*\]) |
|
733
|
0 |
0 |
if $objContent =~ /Resources\s+(\d+\s+\d+\s+R)/ |
|
734
|
0 |
0 |
if ($objContent =~ m[^.+/Resources]s) |
|
741
|
0 |
0 |
if (/\S/) |
|
743
|
0 |
0 |
if /< |
|
744
|
0 |
0 |
if />>/ |
|
745
|
0 |
0 |
if $k == 0 |
|
757
|
0 |
0 |
if defined $maxPages |
|
760
|
0 |
0 |
unless eval {
do {
$objectContent = getContentOfObjectNr($GrootNr);
1
}
} |
|
761
|
0 |
0 |
if ($objectContent =~ m[/Pages\s+(\d+)\s+\d+\s+R]) |
|
763
|
0 |
0 |
if $objectContent =~ m[/Count\s+(\d+)] |
|
774
|
0 |
0 |
unless &getInputFileWeight |
|
776
|
0 |
0 |
unless open $IN_FILE, "<", $GinFile |
|
780
|
0 |
0 |
if $c ne "%PDF-" |
|
784
|
0 |
0 |
unless $GrootNr > 0 |
|
797
|
0 |
0 |
if $known |
|
835
|
0 |
0 |
if exists $known{$1} |
|
852
|
0 |
0 |
if $readBytes =~ /^(\d+)\s+(\d+)/ |
|
860
|
0 |
0 |
if $Gpos |
|
865
|
0 |
0 |
unless open $OUT_FILE, ">", $outputfile |