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
235 0 0 0 $type and exists $get_details{$type}
319 0 0 0 defined $type and defined $min
334 0 0 0 defined $type and defined $min
0 0 0 defined $type and defined $min and defined $max
345 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
356 0 0 0 defined $type and defined $height
0 0 0 defined $type and defined $height and defined $width
372 0 0 0 defined $type and defined $minh
0 0 0 defined $type and defined $minh and defined $minw
386 0 0 0 defined $maxh and $h > $maxh
387 0 0 0 defined $maxw and $w > $maxw
402 0 0 0 defined $max and $value > $max
403 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