Condition Coverage

blib/lib/Mail/Message/Construct/Forward.pm
Criterion Covered Total %
condition 20 42 47.6


and 3 conditions

line !l l&&!r l&&r condition
42 0 0 0 defined $preamble and not ref $preamble
80 0 0 7 $msgid and not $msgid =~ /^\s*\<.*\>\s*$/
113 4 0 0 $body->isMultipart and $body->parts == 1
121 1 0 3 defined $prelude and not builtin::blessed($prelude)
140 1 0 2 !exists $args{'strip_signature'} || $args{'strip_signature'} and not $body->isNested
154 3 0 0 defined $signature and $signature->isa("Mail::Message")
206 1 5 8 defined $subject && length $subject

or 2 conditions

line l !l condition
38 0 3 $args{'include'} || 'INLINE'
86 7 0 $from || '(undisclosed)'
133 0 1 $args{'is_attached'} || "[The forwarded message is attached]\n"

or 3 conditions

line l !l&&r !l&&!r condition
79 0 7 0 $args{'Message-ID'} || $mainhead->createMessageId
130 0 1 3 $body->isMultipart or $body->isBinary
133 0 1 0 $args{'preamble'} ||= $prelude->concatenate($prelude, $args{'is_attached'} || "[The forwarded message is attached]\n", $postlude)
140 2 0 1 !exists $args{'strip_signature'} || $args{'strip_signature'}
172 1 0 0 not exists $args{'strip_signature'} or $args{'strip_signature'}