line |
true |
false |
branch |
110
|
0 |
0 |
unless defined $input |
112
|
0 |
0 |
if print STDERR "$sayHelp" |
|
0 |
0 |
if ($input =~ /^-h$/ or $input =~ /^--help$/) |
114
|
0 |
0 |
if print STDERR "$sayVersion\n" |
|
0 |
0 |
if ($input =~ /^-v$/ or $input =~ /^--version$/) |
116
|
0 |
0 |
unless -r $input |
119
|
0 |
0 |
if $num_pag_input == 0 |
124
|
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') { } |
140
|
0 |
0 |
$pagesPerSheet == 4 ? : |
143
|
0 |
0 |
unless $_ % $pagesPerSheet > 0 or $numPagImposed == 0 |
145
|
0 |
0 |
if $target_page > $num_pag_input |
147
|
0 |
0 |
$_ % 4 > 1 ? : |
151
|
0 |
0 |
if $numPagImposed == $num_pag_input |
164
|
0 |
0 |
unless $Gpos |
165
|
0 |
0 |
if defined $Gstream and length $Gstream > 0 |
178
|
0 |
0 |
unless $Gpos |
180
|
0 |
0 |
unless my $pagenumber = $param->{'page'} |
181
|
0 |
0 |
unless my $x = $param->{'x'} |
182
|
0 |
0 |
unless my $y = $param->{'y'} |
183
|
0 |
0 |
unless my $rotate = $param->{'rotate'} |
189
|
0 |
0 |
unless defined $refNr |
190
|
0 |
0 |
unless $refNr |
192
|
0 |
0 |
defined $x && defined $y && defined $rotate ? : |
219
|
0 |
0 |
if (%GpageXObject) |
236
|
0 |
0 |
if exists $Gresources{$resourceDict} |
239
|
0 |
0 |
if keys %Gresources < 10 |
275
|
0 |
0 |
unless ($Gparents[0]) |
284
|
0 |
0 |
if $Gcounts[0] > 9 |
292
|
0 |
0 |
unless $Gpos |
294
|
0 |
0 |
if $Gstream |
326
|
0 |
0 |
unless ($Gparents[$j]) |
357
|
0 |
0 |
defined $Gparents[0] ? : |
359
|
0 |
0 |
if (defined $Gparents[$i]) |
363
|
0 |
0 |
if ($Gparents[$j]) |
395
|
0 |
0 |
if ($rotate) |
414
|
0 |
0 |
if $buf =~ /Encrypt/o |
416
|
0 |
0 |
if ($buf =~ /\bstartxref\s+(\d+)/o) |
419
|
0 |
0 |
if $xref > (stat $GinFile)[7] |
423
|
0 |
0 |
unless $tempRoot |
441
|
0 |
0 |
if ($incoming_line =~ /^\s?(\d+) \d+ (\w)\s*/o) |
442
|
0 |
0 |
unless $2 ne "n" or exists $GoldObject{$i} |
451
|
0 |
0 |
if $buf =~ m[\/Root\s+(\d+)\s{1,2}\d+\s{1,2}R]so |
452
|
0 |
0 |
if $rooty |
464
|
0 |
0 |
unless defined $GoldObject{$index} |
484
|
0 |
0 |
if ($elObje =~ /^(\d+ \d+ obj\s*<<)(.+)(>>\s*stream)/so) { } |
491
|
0 |
0 |
if $elObje =~ /^(\d+ \d+ obj\s*)/so |
510
|
0 |
0 |
unless $elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]so |
515
|
0 |
0 |
unless defined $GformBox[2] and defined $GformBox[3] |
520
|
0 |
0 |
if ($multi > 119780 and $multi < 121780) |
525
|
0 |
0 |
if ($multi > 123443 and $multi < 125443) |
530
|
0 |
0 |
if ($multi > 152720 and $multi < 154720) |
535
|
0 |
0 |
if ($multi > 241352 and $multi < 243352) |
540
|
0 |
0 |
if ($multi > 248305 and $multi < 250305) |
545
|
0 |
0 |
if ($multi > 307448 and $multi < 309448) |
550
|
0 |
0 |
if ($multi > 483704 and $multi < 485704) |
553
|
0 |
0 |
if ($multi > 499395 and $multi < 501395) |
556
|
0 |
0 |
if ($multi > 615896 and $multi < 617896) |
576
|
0 |
0 |
unless $elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]so |
619
|
0 |
0 |
unless $elObje =~ m(/Kids\s*\[([^\]]+))so |
630
|
0 |
0 |
if ($elObje =~ m[/Count\s+(\d+)]so) { } |
631
|
0 |
0 |
if ($pageAccumulator + $1 < $pagenumber) { } |
634
|
0 |
0 |
if $elObje =~ m(/Kids\s*\[([^\]]+))so |
641
|
0 |
0 |
if $pageAccumulator == $pagenumber |
655
|
0 |
0 |
unless (@GformBox) |
656
|
0 |
0 |
if ($obj =~ /MediaBox\s*\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/so) |
661
|
0 |
0 |
if ($obj =~ m[/Contents\s+(\d+)]so) { } |
|
0 |
0 |
elsif ($obj =~ m(/Contents\s*\[\s*(\d+)\s{1,2}\d+\s{1,2}R\s*\])so) { } |
679
|
0 |
0 |
if ($obj =~ m[^(.+/Resources)]so) |
680
|
0 |
0 |
if $obj =~ /Resources(\s+\d+\s{1,2}\d+\s{1,2}R)/so |
687
|
0 |
0 |
if (/\S/s) |
689
|
0 |
0 |
if /<
|
690
|
0 |
0 |
if />>/s |
691
|
0 |
0 |
if $k == 0 |
705
|
0 |
0 |
unless open $IN_FILE, "<", $GinFile |
716
|
0 |
0 |
unless eval {
do {
$elObje = getObject($Groot);
1
}
} |
717
|
0 |
0 |
if ($elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]so) |
719
|
0 |
0 |
if $elObje =~ m[/Count\s+(\d+)]so |
738
|
0 |
0 |
unless $_ =~ /^xref/o |
749
|
0 |
0 |
if exists $Gold{$1} |
769
|
0 |
0 |
if ($incoming_line =~ /^(\d+)\s+(\d+)/o) |
781
|
0 |
0 |
if $Gpos |
786
|
0 |
0 |
unless open $OUT_FILE, ">", $outputfile |