Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/PDFInfo.pm
Criterion Covered Total %
condition 1 54 1.8


and 3 conditions

line !l l&&!r l&&r condition
381 0 0 0 $tag and $value
431 0 0 0 $type and exists $get_details{$type}
561 0 0 0 defined $min and defined $max
575 0 0 0 $textlen > 0 and exists $pms->{'pdfinfo'}{'pc_pdf'}
0 0 0 $textlen > 0 and exists $pms->{'pdfinfo'}{'pc_pdf'} and $pms->{'pdfinfo'}{'pc_pdf'} > 0
626 0 0 0 defined $height and defined $width
643 0 0 0 defined $minh and defined $minw
657 0 0 0 defined $maxh and $h > $maxh
658 0 0 0 defined $maxw and $w > $maxw
711 0 0 0 $detail and $regex
743 0 0 0 defined $max and $value > $max
744 0 0 0 defined $nomaxequal and $nomaxequal
0 0 0 defined $nomaxequal and $nomaxequal and $value == $max

or 2 conditions

line l !l condition
414 0 0 $p->{'name'} || ''
416 0 0 $p->get_header('content-transfer-encoding') || ''
587 0 0 $min ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
160 0 60 0 ref $class || $class
426 0 0 0 $name =~ /\.[fp]df$/ or $type eq 'pdf'
612 0 0 0 $bytes == 0 or $bytes <= $min