Condition Coverage

blib/lib/Mail/Message/Construct/Rebuild.pm
Criterion Covered Total %
condition 11 35 31.4


and 3 conditions

line !l l&&!r l&&r condition
84 9 5 0 $part->isMultipart && $part->body->parts == 0
90 19 4 2 $part->isMultipart and $part->parts("ACTIVE") == 0
175 20 3 0 $part->isNested and $part->body->nested->isDeleted
198 0 0 2 defined $container and $container->mimeType eq "multipart/alternative"
214 0 0 0 $container and $container->mimeType eq "multipart/alternative"
219 0 0 0 $last && $part == $last
232 2 0 0 $has_hft and $part->body->mimeType eq "text/html"
236 0 0 0 defined $container && $container->mimeType eq 'multipart/alternative'
241 0 0 0 $in_alt and &first(sub { $_->body->mimeType eq "text/plain"; } , $container->parts)

or 2 conditions

line l !l condition
182 0 0 $part->body->dispositionFilename || ''

or 3 conditions

line l !l&&r !l&&!r condition
94 0 2 0 $body->preamble || 'Mail::Message::Body::Lines'->new('data', '')
175 0 0 23 $part->isNested and $part->body->nested->isDeleted or $part->isDeleted