| line |
true |
false |
branch |
|
113
|
0 |
0 |
unless defined $input |
|
115
|
0 |
0 |
if print STDERR "$sayHelp" |
|
|
0 |
0 |
if ($input =~ /^-h$/ or $input =~ /^--help$/) |
|
117
|
0 |
0 |
if print STDERR "$sayVersion\n" |
|
|
0 |
0 |
if ($input =~ /^-v$/ or $input =~ /^--version$/) |
|
119
|
0 |
0 |
unless -r $input |
|
122
|
0 |
0 |
if $num_pag_input == 0 |
|
127
|
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') { } |
|
139
|
0 |
0 |
if ($pgPerOutputPage == 4) { } |
|
142
|
0 |
0 |
if ($_ >= 13) { } |
|
|
0 |
0 |
elsif ($_ >= 9) { } |
|
|
0 |
0 |
elsif ($_ >= 5) { } |
|
150
|
0 |
0 |
if ($_ >= 13) { } |
|
|
0 |
0 |
elsif ($_ >= 9) { } |
|
|
0 |
0 |
elsif ($_ >= 5) { } |
|
160
|
0 |
0 |
if $_ % $pgPerOutputPage == 0 |
|
162
|
0 |
0 |
if $target_page > $num_pag_input |
|
164
|
0 |
0 |
$_ % 4 > 1 ? : |
|
168
|
0 |
0 |
if $numPagImposed == $num_pag_input |
|
181
|
0 |
0 |
unless $Gpos |
|
182
|
0 |
0 |
if defined $Gstream and length $Gstream > 0 |
|
195
|
0 |
0 |
unless $Gpos |
|
197
|
0 |
0 |
unless my $pagenumber = $param->{'page'} |
|
198
|
0 |
0 |
unless my $x = $param->{'x'} |
|
199
|
0 |
0 |
unless my $y = $param->{'y'} |
|
200
|
0 |
0 |
unless my $rotate = $param->{'rotate'} |
|
207
|
0 |
0 |
unless defined $refNr |
|
209
|
0 |
0 |
unless $refNr |
|
235
|
0 |
0 |
if (%GpageXObject) |
|
254
|
0 |
0 |
if exists $resources{$resourceDict} |
|
257
|
0 |
0 |
if keys %resources < 10 |
|
293
|
0 |
0 |
unless ($Gparents[0]) |
|
302
|
0 |
0 |
if $Gcounts[0] > 9 |
|
310
|
0 |
0 |
unless $Gpos |
|
312
|
0 |
0 |
if $Gstream |
|
344
|
0 |
0 |
unless ($Gparents[$j]) |
|
375
|
0 |
0 |
defined $Gparents[0] ? : |
|
377
|
0 |
0 |
if (defined $Gparents[$i]) |
|
381
|
0 |
0 |
if ($Gparents[$j]) |
|
413
|
0 |
0 |
if ($rotate) |
|
432
|
0 |
0 |
if $buf =~ /Encrypt/ |
|
434
|
0 |
0 |
if ($buf =~ /\bstartxref\s+(\d+)/) |
|
437
|
0 |
0 |
if $xref > (stat $GinFile)[7] |
|
441
|
0 |
0 |
unless $tempRoot |
|
459
|
0 |
0 |
if ($incoming_line =~ /^\s?(\d+) \d+ (\w)\s*/) |
|
460
|
0 |
0 |
unless $2 ne "n" or exists $GoldObject{$i} |
|
469
|
0 |
0 |
if $buf =~ m[\/Root\s+(\d+)\s{1,2}\d+\s{1,2}R]s |
|
470
|
0 |
0 |
if $rooty |
|
482
|
0 |
0 |
unless defined $GoldObject{$index} |
|
503
|
0 |
0 |
if ($elObje =~ /^(\d+ \d+ obj\s*<<)(.+)(>>\s*stream)/s) { } |
|
510
|
0 |
0 |
if $elObje =~ /^(\d+ \d+ obj\s*)/s |
|
529
|
0 |
0 |
unless $elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]s |
|
534
|
0 |
0 |
unless defined $GformBox[2] and defined $GformBox[3] |
|
541
|
0 |
0 |
if ($_ > 119780 and $_ < 121780) |
|
543
|
0 |
0 |
if ($_ > 123443 and $_ < 125443) |
|
545
|
0 |
0 |
if ($_ > 152720 and $_ < 154720) |
|
547
|
0 |
0 |
if ($_ > 241352 and $_ < 243352) |
|
549
|
0 |
0 |
if ($_ > 248305 and $_ < 250305) |
|
551
|
0 |
0 |
if ($_ > 307448 and $_ < 309448) |
|
553
|
0 |
0 |
if ($_ > 483704 and $_ < 485704) |
|
555
|
0 |
0 |
if ($_ > 499395 and $_ < 501395) |
|
557
|
0 |
0 |
if ($_ > 615896 and $_ < 617896) |
|
573
|
0 |
0 |
unless $elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]s |
|
616
|
0 |
0 |
unless $elObje =~ m(/Kids\s*\[([^\]]+))s |
|
627
|
0 |
0 |
if ($elObje =~ m[/Count\s+(\d+)]s) { } |
|
628
|
0 |
0 |
if ($pageAccumulator + $1 < $pagenumber) { } |
|
631
|
0 |
0 |
if $elObje =~ m(/Kids\s*\[([^\]]+))s |
|
638
|
0 |
0 |
if $pageAccumulator == $pagenumber |
|
652
|
0 |
0 |
unless (@GformBox) |
|
653
|
0 |
0 |
if ($obj =~ /MediaBox\s*\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/s) |
|
658
|
0 |
0 |
if ($obj =~ m[/Contents\s+(\d+)]s) { } |
|
|
0 |
0 |
elsif ($obj =~ m(/Contents\s*\[\s*(\d+)\s{1,2}\d+\s{1,2}R\s*\])s) { } |
|
676
|
0 |
0 |
if ($obj =~ m[^(.+/Resources)]s) |
|
677
|
0 |
0 |
if $obj =~ /Resources(\s+\d+\s{1,2}\d+\s{1,2}R)/s |
|
684
|
0 |
0 |
if (/\S/s) |
|
686
|
0 |
0 |
if /<
|
|
687
|
0 |
0 |
if />>/s |
|
688
|
0 |
0 |
if $k == 0 |
|
702
|
0 |
0 |
unless open $IN_FILE, "<", $GinFile |
|
713
|
0 |
0 |
unless eval {
do {
$elObje = getObject($Groot);
1
}
} |
|
714
|
0 |
0 |
if ($elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]s) |
|
716
|
0 |
0 |
if $elObje =~ m[/Count\s+(\d+)]s |
|
735
|
0 |
0 |
unless $_ =~ /^xref/ |
|
746
|
0 |
0 |
if exists $Gold{$1} |
|
766
|
0 |
0 |
if ($incoming_line =~ /^(\d+)\s+(\d+)/) |
|
778
|
0 |
0 |
if $Gpos |
|
783
|
0 |
0 |
unless open $OUT_FILE, ">", $outputfile |