| line |
true |
false |
branch |
|
44
|
0 |
0 |
if (not defined $self->{'config'}{'mode'} or $self->{'config'}{'mode'} ne 'file' and $self->{'config'}{'mode'} ne 'ipc') |
|
48
|
0 |
0 |
unless ($self->{'config'}{'tmpdir'} and -d $self->{'config'}{'tmpdir'}) |
|
52
|
0 |
0 |
if (defined $self->{'config'}{'bindir'}) { } |
|
53
|
0 |
0 |
unless $self->{'config'}{'bindir'} =~ m[/$] |
|
85
|
0 |
0 |
if (defined $value) { } |
|
104
|
0 |
0 |
if (ref $value and ref $value eq 'ARRAY') { } |
|
106
|
0 |
0 |
if (not $self->{'doc_config'}{$key} or ref $self->{'doc_config'}{$key} ne 'ARRAY') |
|
131
|
0 |
0 |
if (exists $self->{'doc_config'}{$key}) |
|
133
|
0 |
0 |
if (ref $set_value eq 'ARRAY' and $value) { } |
|
137
|
0 |
0 |
if ($set_value->[$i] eq $value) |
|
171
|
0 |
0 |
if $DEBUG |
|
189
|
0 |
0 |
if (lc $param eq lc $aparam) |
|
214
|
0 |
0 |
if (not $value and $value ne 'a4' and $value ne 'letter' and $value ne 'universal' and not $value =~ /^\d+x\d+(?:in|cm|mm)/) |
|
274
|
0 |
0 |
if ($#values == -1) |
|
280
|
0 |
0 |
unless ($self->_test_params($values[$i], \@allowed)) |
|
289
|
0 |
0 |
if ($value eq 'all') { } |
|
|
0 |
0 |
elsif ($value eq 'none') { } |
|
297
|
0 |
0 |
if ($value =~ /^no-(.+)/) { } |
|
407
|
0 |
0 |
unless ($self->_test_params($left, \@allowed)) |
|
411
|
0 |
0 |
unless ($self->_test_params($center, \@allowed)) |
|
415
|
0 |
0 |
unless ($self->_test_params($right, \@allowed)) |
|
438
|
0 |
0 |
unless ($self->_test_params($left, \@allowed)) |
|
442
|
0 |
0 |
unless ($self->_test_params($center, \@allowed)) |
|
446
|
0 |
0 |
unless ($self->_test_params($right, \@allowed)) |
|
553
|
0 |
0 |
if (not $margin =~ /^\d*\.?\d+$/ or $m ne 'in' and $m ne 'cm' and $m ne 'mm') |
|
573
|
0 |
0 |
if (not $color) { } |
|
594
|
0 |
0 |
if (@colors == 1 and $colors[0] =~ /^#[0-9a-f]{6}$/i) { } |
|
|
0 |
0 |
elsif (@colors == 3) { } |
|
|
0 |
0 |
elsif (@colors == 1) { } |
|
600
|
0 |
0 |
if ($r =~ /^\d{1,3}$/ and $g =~ /^\d{1,3}$/ and $b =~ /^\d{1,3}$/ and $r >= 0 and $r <= 255 and $b >= 0 and $b <= 255 and $g >= 0 and $g <= 255) |
|
608
|
0 |
0 |
if ($c eq $colors[0]) |
|
630
|
0 |
0 |
if (not $self->_test_params($font, \@allowed)) { } |
|
652
|
0 |
0 |
if (not $self->_test_params($font, \@allowed)) { } |
|
670
|
0 |
0 |
if ($fsize =~ /^\d+(\.\d+){0,1}$/) { } |
|
689
|
0 |
0 |
unless (-f "$image") |
|
707
|
0 |
0 |
unless (-f "$image") |
|
735
|
0 |
0 |
unless (-f "$image") |
|
768
|
0 |
0 |
unless ($width =~ /^\d+$/) |
|
796
|
0 |
0 |
unless defined $comp |
|
830
|
0 |
0 |
unless ($self->_test_params($value, ['document', 'outline', 'fullscreen'])) |
|
849
|
0 |
0 |
unless ($self->_test_params($value, ['single', 'one', 'twoleft', 'tworight'])) |
|
961
|
0 |
0 |
unless ($self->_test_params($f, \@allowed)) |
|
1000
|
0 |
0 |
if (ref $self->{'html'} eq 'SCALAR') |
|
1016
|
0 |
0 |
if (-f $infile) |
|
1046
|
0 |
0 |
if defined($filename = $self->{'input_file'}) |
|
1052
|
0 |
0 |
if (-f $filename) { } |
|
1061
|
0 |
0 |
unless ($file) |
|
1080
|
0 |
0 |
if defined $self->{'config'}{'tmpfile'} and -f $self->{'config'}{'tmpfile'} |
|
1099
|
0 |
0 |
if ($self->_config('mode') eq 'ipc') { } |
|
1106
|
0 |
0 |
unless $filename |
|
1112
|
0 |
0 |
if (not defined $old_htmldoc_env) { } |
|
1136
|
0 |
0 |
if (ref $value eq 'ARRAY') { } |
|
1142
|
0 |
0 |
if ($key eq 'compression' or $key eq 'jpeg') { } |
|
1162
|
0 |
0 |
unless ($pid) |
|
1179
|
0 |
0 |
if ($DEBUG) |
|
1200
|
0 |
0 |
if ($self->_config('mode') eq 'ipc') |
|
1206
|
0 |
0 |
unless ($filename) |
|
1227
|
0 |
0 |
if (defined $error) { } |
|
1230
|
0 |
0 |
if (wantarray) { } |