Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/ImageInfo.pm
Criterion Covered Total %
condition 1 50 2.0


and 3 conditions

line !l l&&!r l&&r condition
234 0 0 0 $type and exists $get_details{$type}
318 0 0 0 defined $type and defined $min
333 0 0 0 defined $type and defined $min
0 0 0 defined $type and defined $min and defined $max
344 0 0 0 $textlen > 0 and exists $pms->{'imageinfo'}{"pc_$type"}
0 0 0 $textlen > 0 and exists $pms->{'imageinfo'}{"pc_$type"} and $pms->{'imageinfo'}{"pc_$type"} > 0
355 0 0 0 defined $type and defined $height
0 0 0 defined $type and defined $height and defined $width
371 0 0 0 defined $type and defined $minh
0 0 0 defined $type and defined $minh and defined $minw
385 0 0 0 defined $maxh and $h > $maxh
386 0 0 0 defined $maxw and $w > $maxw
401 0 0 0 defined $max and $value > $max
402 0 0 0 defined $nomaxequal and $nomaxequal
0 0 0 defined $nomaxequal and $nomaxequal and $value == $max

or 2 conditions

line l !l condition
230 0 0 $p->get_header('content-transfer-encoding') || ''

or 3 conditions

line l !l&&r !l&&!r condition
98 0 63 0 ref $class || $class