Condition Coverage

blib/lib/Mail/Message/Body/Multipart.pm
Criterion Covered Total %
condition 23 38 60.5


and 3 conditions

line !l l&&!r l&&r condition
52 45 4 0 defined $preamble and not builtin::blessed($preamble)
56 45 4 0 defined $epilogue and not builtin::blessed($epilogue)
65 2 0 1 !$args->{'parts'} && $based->isMultipart

or 2 conditions

line l !l condition
237 3 13 $head->get('Content-Transfer-Encoding') || ''

or 3 conditions

line l !l&&r !l&&!r condition
34 2 47 0 $args->{'mime_type'} ||= defined $based ? $based->type : "multipart/mixed"
60 0 23 0 $args->{'boundary'} || $based->boundary
61 4 0 19 $preamble // $based->preamble
68 4 0 19 $epilogue // $based->epilogue
71 1 0 25 $args->{'boundary'} || $self->type->attribute('boundary')
178 9 0 0 shift() || select()
266 28 0 0 $part->head->names or $part->body->size
284 15 0 1 $has_epilogue or $epilogue->nrLines
409 25 25 0 $_[0] // 'boundary-' . int(rand 1000000)