Branch Coverage

blib/lib/Mail/SpamAssassin/Plugin/ImageInfo.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
231 0 0 unless $cte =~ /^base64$/
234 0 0 if ($type and exists $get_details{$type})
258 0 0 unless defined $name
261 0 0 unless (exists $pms->{'imageinfo'})
265 0 0 unless exists $pms->{'imageinfo'}{'names_all'}
266 0 0 if exists $pms->{'imageinfo'}{'names_all'}{$name}
274 0 0 unless defined $re
277 0 0 unless (exists $pms->{'imageinfo'})
281 0 0 unless exists $pms->{'imageinfo'}{'names_all'}
286 0 0 if (eval { do { $name =~ /$re/ } })
287 0 0 if $@
288 0 0 if ($hit)
302 0 0 unless defined $min
305 0 0 unless (exists $pms->{'imageinfo'})
318 0 0 unless defined $type and defined $min
321 0 0 unless (exists $pms->{'imageinfo'})
333 0 0 unless defined $type and defined $min and defined $max
336 0 0 unless (exists $pms->{'imageinfo'})
344 0 0 unless $textlen > 0 and exists $pms->{'imageinfo'}{"pc_$type"} and $pms->{'imageinfo'}{"pc_$type"} > 0
355 0 0 unless defined $type and defined $height and defined $width
358 0 0 unless (exists $pms->{'imageinfo'})
362 0 0 unless exists $pms->{'imageinfo'}{"dems_$type"}
363 0 0 if exists $pms->{'imageinfo'}{"dems_$type"}{"${height}x$width"}
371 0 0 unless defined $type and defined $minh and defined $minw
374 0 0 unless (exists $pms->{'imageinfo'})
379 0 0 unless exists $pms->{'imageinfo'}{$name}
383 0 0 if $h < $minh
384 0 0 if $w < $minw
385 0 0 if defined $maxh and $h > $maxh
386 0 0 if defined $maxw and $w > $maxw
399 0 0 unless defined $value
400 0 0 if $value < $min
401 0 0 if defined $max and $value > $max
402 0 0 if defined $nomaxequal and $nomaxequal and $value == $max