| line |
true |
false |
branch |
|
116
|
0 |
0 |
unless defined $input |
|
118
|
0 |
0 |
if print STDERR "$sayHelp" |
|
|
0 |
0 |
if ($input =~ /^-h$/ or $input =~ /^--help$/) |
|
120
|
0 |
0 |
if print STDERR "$sayVersion\n" |
|
|
0 |
0 |
if ($input =~ /^-v$/ or $input =~ /^--version$/) |
|
122
|
0 |
0 |
unless -r $input |
|
125
|
0 |
0 |
if $num_pag_input == 0 |
|
130
|
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') { } |
|
143
|
0 |
0 |
if ($pagesPerSheet == 4) { } |
|
145
|
0 |
0 |
if ($num_pag_input >= 13) { } |
|
|
0 |
0 |
elsif ($num_pag_input >= 9) { } |
|
|
0 |
0 |
elsif ($num_pag_input >= 5) { } |
|
151
|
0 |
0 |
if ($num_pag_input >= 13) { } |
|
|
0 |
0 |
elsif ($num_pag_input >= 9) { } |
|
|
0 |
0 |
elsif ($num_pag_input >= 5) { } |
|
159
|
0 |
0 |
if $_ % $pagesPerSheet == 0 |
|
161
|
0 |
0 |
if $target_page > $num_pag_input |
|
163
|
0 |
0 |
$_ % 4 > 1 ? : |
|
167
|
0 |
0 |
if $numPagImposed == $num_pag_input |
|
180
|
0 |
0 |
unless $Gpos |
|
181
|
0 |
0 |
if defined $Gstream and length $Gstream > 0 |
|
194
|
0 |
0 |
unless $Gpos |
|
196
|
0 |
0 |
unless my $pagenumber = $param->{'page'} |
|
197
|
0 |
0 |
unless my $x = $param->{'x'} |
|
198
|
0 |
0 |
unless my $y = $param->{'y'} |
|
199
|
0 |
0 |
unless my $rotate = $param->{'rotate'} |
|
204
|
0 |
0 |
unless defined $refNr |
|
206
|
0 |
0 |
unless $refNr |
|
208
|
0 |
0 |
defined $x && defined $y && defined $rotate ? : |
|
235
|
0 |
0 |
if (%GpageXObject) |
|
252
|
0 |
0 |
if exists $Gresources{$resourceDict} |
|
255
|
0 |
0 |
if keys %Gresources < 10 |
|
291
|
0 |
0 |
unless ($Gparents[0]) |
|
300
|
0 |
0 |
if $Gcounts[0] > 9 |
|
308
|
0 |
0 |
unless $Gpos |
|
310
|
0 |
0 |
if $Gstream |
|
342
|
0 |
0 |
unless ($Gparents[$j]) |
|
373
|
0 |
0 |
defined $Gparents[0] ? : |
|
375
|
0 |
0 |
if (defined $Gparents[$i]) |
|
379
|
0 |
0 |
if ($Gparents[$j]) |
|
411
|
0 |
0 |
if ($rotate) |
|
430
|
0 |
0 |
if $buf =~ /Encrypt/ |
|
432
|
0 |
0 |
if ($buf =~ /\bstartxref\s+(\d+)/) |
|
435
|
0 |
0 |
if $xref > (stat $GinFile)[7] |
|
439
|
0 |
0 |
unless $tempRoot |
|
457
|
0 |
0 |
if ($incoming_line =~ /^\s?(\d+) \d+ (\w)\s*/) |
|
458
|
0 |
0 |
unless $2 ne "n" or exists $GoldObject{$i} |
|
467
|
0 |
0 |
if $buf =~ m[\/Root\s+(\d+)\s{1,2}\d+\s{1,2}R]so |
|
468
|
0 |
0 |
if $rooty |
|
480
|
0 |
0 |
unless defined $GoldObject{$index} |
|
500
|
0 |
0 |
if ($elObje =~ /^(\d+ \d+ obj\s*<<)(.+)(>>\s*stream)/so) { } |
|
507
|
0 |
0 |
if $elObje =~ /^(\d+ \d+ obj\s*)/so |
|
526
|
0 |
0 |
unless $elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]so |
|
531
|
0 |
0 |
unless defined $GformBox[2] and defined $GformBox[3] |
|
536
|
0 |
0 |
if ($multi > 119780 and $multi < 121780) |
|
541
|
0 |
0 |
if ($multi > 123443 and $multi < 125443) |
|
546
|
0 |
0 |
if ($multi > 152720 and $multi < 154720) |
|
551
|
0 |
0 |
if ($multi > 241352 and $multi < 243352) |
|
556
|
0 |
0 |
if ($multi > 248305 and $multi < 250305) |
|
561
|
0 |
0 |
if ($multi > 307448 and $multi < 309448) |
|
566
|
0 |
0 |
if ($multi > 483704 and $multi < 485704) |
|
569
|
0 |
0 |
if ($multi > 499395 and $multi < 501395) |
|
572
|
0 |
0 |
if ($multi > 615896 and $multi < 617896) |
|
590
|
0 |
0 |
unless $elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]so |
|
633
|
0 |
0 |
unless $elObje =~ m(/Kids\s*\[([^\]]+))so |
|
644
|
0 |
0 |
if ($elObje =~ m[/Count\s+(\d+)]so) { } |
|
645
|
0 |
0 |
if ($pageAccumulator + $1 < $pagenumber) { } |
|
648
|
0 |
0 |
if $elObje =~ m(/Kids\s*\[([^\]]+))so |
|
655
|
0 |
0 |
if $pageAccumulator == $pagenumber |
|
669
|
0 |
0 |
unless (@GformBox) |
|
670
|
0 |
0 |
if ($obj =~ /MediaBox\s*\[\s*([\S]+)\s+([\S]+)\s+([\S]+)\s+([\S]+)\s*\]/so) |
|
675
|
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) { } |
|
693
|
0 |
0 |
if ($obj =~ m[^(.+/Resources)]so) |
|
694
|
0 |
0 |
if $obj =~ /Resources(\s+\d+\s{1,2}\d+\s{1,2}R)/so |
|
701
|
0 |
0 |
if (/\S/s) |
|
703
|
0 |
0 |
if /<
|
|
704
|
0 |
0 |
if />>/s |
|
705
|
0 |
0 |
if $k == 0 |
|
719
|
0 |
0 |
unless open $IN_FILE, "<", $GinFile |
|
730
|
0 |
0 |
unless eval {
do {
$elObje = getObject($Groot);
1
}
} |
|
731
|
0 |
0 |
if ($elObje =~ m[/Pages\s+(\d+)\s{1,2}\d+\s{1,2}R]so) |
|
733
|
0 |
0 |
if $elObje =~ m[/Count\s+(\d+)]so |
|
752
|
0 |
0 |
unless $_ =~ /^xref/ |
|
763
|
0 |
0 |
if exists $Gold{$1} |
|
783
|
0 |
0 |
if ($incoming_line =~ /^(\d+)\s+(\d+)/) |
|
795
|
0 |
0 |
if $Gpos |
|
800
|
0 |
0 |
unless open $OUT_FILE, ">", $outputfile |