line |
true |
false |
branch |
70
|
0 |
0 |
unless $prefs |
75
|
0 |
0 |
unless $prefs->{$pref} |
76
|
0 |
0 |
$prefs->{$pref}->val eq 'true' ? : |
79
|
0 |
0 |
unless $prefs->{$pref} |
80
|
0 |
0 |
if ($pref eq 'Direction') { } |
|
0 |
0 |
elsif ($pref eq 'Duplex') { } |
|
0 |
0 |
elsif ($pref eq 'NonFullScreenPageMode') { } |
92
|
0 |
0 |
if $value eq "oc" |
99
|
0 |
0 |
if ($prefs->{'PrintPageRange'}) |
103
|
0 |
0 |
if ($prefs->{'NumCopies'}) |
132
|
8 |
164 |
if ($self->{'pdf'}{'catalog'}{'ViewerPreferences'}) { } |
148
|
169 |
3 |
if ($camel eq 'NonFullScreenPageMode') { } |
|
0 |
3 |
elsif ($camel eq 'Direction') { } |
|
0 |
3 |
elsif ($camel =~ /^(?:View|Print)(?:Area|Clip)$/) { } |
|
0 |
3 |
elsif ($camel eq 'PrintScaling') { } |
|
3 |
0 |
elsif ($camel eq 'Duplex') { } |
|
0 |
0 |
elsif ($camel eq 'PrintPageRange') { } |
|
0 |
0 |
elsif ($camel eq 'NumCopies') { } |
|
0 |
0 |
elsif (grep {$camel eq $_;} @booleans) { } |
150
|
0 |
0 |
$value eq 'optional_content' ? : |
|
0 |
0 |
$value eq 'thumbnails' ? : |
|
0 |
0 |
$value eq 'outlines' ? : |
|
169 |
0 |
$value eq 'none' ? : |
155
|
0 |
169 |
unless $name |
160
|
0 |
0 |
unless ($name =~ /^(?:L2R|R2L)$/i) |
170
|
0 |
0 |
$values{$snake} eq 'art_box' ? : |
|
0 |
0 |
$values{$snake} eq 'trim_box' ? : |
|
0 |
0 |
$values{$snake} eq 'bleed_box' ? : |
|
0 |
0 |
$values{$snake} eq 'crop_box' ? : |
|
0 |
0 |
$values{$snake} eq 'media_box' ? : |
171
|
0 |
0 |
unless $name |
176
|
0 |
0 |
$value eq 'app_default' ? : |
|
0 |
0 |
$value eq 'none' ? : |
178
|
0 |
0 |
unless $name |
183
|
1 |
0 |
$value eq 'duplex_long' ? : |
|
1 |
1 |
$value eq 'duplex_short' ? : |
|
1 |
2 |
$value eq 'simplex' ? : |
186
|
0 |
3 |
unless $name |
190
|
0 |
0 |
unless (ref $values{$snake} eq "ARRAY") |
194
|
0 |
0 |
unless (@range % 2 == 0) |
197
|
0 |
0 |
if (join("", @range) =~ /\D/) |
203
|
0 |
0 |
unless ($values{$snake} =~ /^\d+$/) |
209
|
0 |
0 |
$values{$snake} ? : |