Condition Coverage

blib/lib/MIME/Entity.pm
Criterion Covered Total %
condition 46 79 58.2


and 3 conditions

line !l l&&!r l&&r condition
615 22 17 0 defined $filename and $filename eq ""
723 0 0 23 defined $value and $value ne ""
1172 3 0 9 $self->is_multipart and not $force
1297 0 2 25 $i++ < $nlines and $line--
1434 3 0 3 $self->is_multipart and not $params{'Attach'}
1610 6 13 0 $tag =~ /\AContent-/i and not $tag =~ /\AContent-$StandardFields\Z/io

or 2 conditions

line l !l condition
603 25 14 $params{'Type'} || 'text/plain'
606 9 30 $params{'Encoding'} || ''
609 1 38 $params{'Disposition'} || 'inline'
613 14 25 $params{'Path'} || ''
815 0 3 $MIME::Entity::BOUNDARY_DELIMITER || "\n"
1168 0 12 $subtype ||= "mixed"
1293 1 3 $nlines ||= 10
1296 4 0 int @$body || (return)
1432 0 6 $MIME::Entity::BOUNDARY_DELIMITER || "\n"
1479 3 0 $body[-1] || ''
1600 5 0 $opts->{'Nonstandard'} || 0
1601 5 0 $opts->{'Length'} || 0
1629 4 0 tmpopen() || die(q[can't open tmpfile])
1717 0 0 $self->mime_type || 'UNKNOWN'
1718 0 0 $self->effective_type || 'UNKNOWN'
1722 0 0 $path || 'NONE'
1814 7 60 $MIME::Entity::BOUNDARY_DELIMITER || "\n"
1860 7 76 $MIME::Entity::BOUNDARY_DELIMITER || "\n"
1927 71 0 $self->open('r') || die("open body: $!")
1935 64 0 $self->head->mime_encoding || 'binary'

or 3 conditions

line l !l&&r !l&&!r condition
947 2079 252 0 $self->{'mail_inet_head'} ||= "MIME::Head"->new
1463 3 0 0 $self->head->mime_type =~ m[text/]i or $params{'Force'}
1471 2 1 0 not defined $params{'Remove'} or $params{'Remove'} > 0
1514 2 0 1 $type eq "text" or $type eq "message"
1521 0 1 5 length $_ > 999 || /[\200-\377]/
1858 83 0 0 $out ||= select
1925 71 0 0 $out ||= select