Condition Coverage

blib/lib/Mail/Lite/Message.pm
Criterion Covered Total %
condition 13 28 46.4


and 3 conditions

line !l l&&!r l&&r condition
53 12 3 6 $value =~ /for ?;/is and index($1, '@localhost') < 0
69 0 0 0 $self->header('content_type') && $self->header('content_type') =~ /charset=\"?([-\w]+)/iso
75 0 0 0 $self->header('content_type') and $self->header('content_type') =~ m[multipart/(?:mixed|report);.*?boundary=\"(.+?)\"]iso
87 0 58 417 $value_ref and $$value_ref
58 416 1 $value_ref and $$value_ref and $$value_ref =~ /\=\?(.+?)\?(.)\?/i
201 29 0 0 $self->header('x_rcpt_to') and $self->header('x_rcpt_to') =~ /^?$/i

or 2 conditions

line l !l condition
56 3 3 $$self{'received_recipients'} ||= []
128 147 58 $value || undef

or 3 conditions

line l !l&&r !l&&!r condition
69 0 0 0 $$self{'charset'} ||= $self->header('content_type') && $self->header('content_type') =~ /charset=\"?([-\w]+)/iso ? lc $1 : 'us-ascii'
75 0 0 0 $$self{'bound'} ||= $1