Branch Coverage

blib/lib/PDF/Builder/ViewerPreferences.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
73 0 0 unless $prefs
78 0 0 unless $prefs->{$pref}
79 0 0 $prefs->{$pref}->val eq 'true' ? :
82 0 0 unless $prefs->{$pref}
83 0 0 if ($pref eq 'Direction') { }
0 0 elsif ($pref eq 'Duplex') { }
96 0 0 if ($prefs->{'PrintPageRange'})
100 0 0 if ($prefs->{'NumCopies'})
129 0 0 if ($self->{'pdf'}{'catalog'}{'ViewerPreferences'}) { }
145 0 0 if ($camel eq 'NonFullScreenPageMode') { }
0 0 elsif ($camel eq 'Direction') { }
0 0 elsif ($camel =~ /^(?:View|Print)(?:Area|Clip)$/) { }
0 0 elsif ($camel eq 'PrintScaling') { }
0 0 elsif ($camel eq 'Duplex') { }
0 0 elsif ($camel eq 'PrintPageRange') { }
0 0 elsif ($camel eq 'NumCopies') { }
0 0 elsif (grep {$camel eq $_;} @booleans) { }
149 0 0 $values{$snake} eq 'optional_content' ? :
0 0 $values{$snake} eq 'thumbnails' ? :
0 0 $values{$snake} eq 'outlines' ? :
0 0 $values{$snake} eq 'none' ? :
151 0 0 unless $name
156 0 0 unless ($name =~ /^(?:L2R|R2L)$/i)
166 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' ? :
167 0 0 unless $name
172 0 0 $value eq 'app_default' ? :
0 0 $value eq 'none' ? :
174 0 0 unless $name
179 0 0 $value eq 'duplex_long' ? :
0 0 $value eq 'duplex_short' ? :
0 0 $value eq 'simplex' ? :
182 0 0 unless $name
186 0 0 unless (ref $values{$snake} eq "ARRAY")
190 0 0 unless (@range % 2 == 0)
193 0 0 if (join("", @range) =~ /\D/)
199 0 0 unless ($values{$snake} =~ /^\d+$/)
205 0 0 $values{$snake} ? :