Condition Coverage

blib/lib/HTML/HTMLDoc.pm
Criterion Covered Total %
condition 0 82 0.0


and 3 conditions

line !l l&&!r l&&r condition
44 0 0 0 $self->{'config'}{'mode'} ne 'file' and $self->{'config'}{'mode'} ne 'ipc'
48 0 0 0 $self->{'config'}{'tmpdir'} and -d $self->{'config'}{'tmpdir'}
104 0 0 0 ref $value and ref $value eq 'ARRAY'
133 0 0 0 ref $set_value eq 'ARRAY' and $value
214 0 0 0 not $value and $value ne 'a4'
0 0 0 not $value and $value ne 'a4' and $value ne 'letter'
0 0 0 not $value and $value ne 'a4' and $value ne 'letter' and $value ne 'universal'
0 0 0 not $value and $value ne 'a4' and $value ne 'letter' and $value ne 'universal' and not $value =~ /^\d+x\d+(?:in|cm|mm)/
553 0 0 0 $m ne 'in' and $m ne 'cm'
0 0 0 $m ne 'in' and $m ne 'cm' and $m ne 'mm'
594 0 0 0 @colors == 1 and $colors[0] =~ /^#[0-9a-f]{6}$/i
600 0 0 0 $r =~ /^\d{1,3}$/ and $g =~ /^\d{1,3}$/
0 0 0 $r =~ /^\d{1,3}$/ and $g =~ /^\d{1,3}$/ and $b =~ /^\d{1,3}$/
0 0 0 $r =~ /^\d{1,3}$/ and $g =~ /^\d{1,3}$/ and $b =~ /^\d{1,3}$/ and $r >= 0
0 0 0 $r =~ /^\d{1,3}$/ and $g =~ /^\d{1,3}$/ and $b =~ /^\d{1,3}$/ and $r >= 0 and $r <= 255
0 0 0 $r =~ /^\d{1,3}$/ and $g =~ /^\d{1,3}$/ and $b =~ /^\d{1,3}$/ and $r >= 0 and $r <= 255 and $b >= 0
0 0 0 $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
0 0 0 $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
0 0 0 $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
1080 0 0 0 defined $self->{'config'}{'tmpfile'} and -f $self->{'config'}{'tmpfile'}

or 2 conditions

line l !l condition
504 0 0 shift() || 'cm'
517 0 0 shift() || 'cm'
529 0 0 shift() || 'cm'
541 0 0 shift() || 'cm'
1135 0 0 $self->_get_doc_config($key) || ''

or 3 conditions

line l !l&&r !l&&!r condition
44 0 0 0 not defined $self->{'config'}{'mode'} or $self->{'config'}{'mode'} ne 'file' and $self->{'config'}{'mode'} ne 'ipc'
106 0 0 0 not $self->{'doc_config'}{$key} or ref $self->{'doc_config'}{$key} ne 'ARRAY'
553 0 0 0 not $margin =~ /^\d*\.?\d+$/ or $m ne 'in' and $m ne 'cm' and $m ne 'mm'
1142 0 0 0 $key eq 'compression' or $key eq 'jpeg'