Condition Coverage

lib/Email/MIME/CreateHTML.pm
Criterion Covered Total %
condition 23 36 63.8


and 3 conditions

line !l l&&!r l&&r condition
41 8 0 1 defined $$args{'embed'} && $$args{'embed'} eq '0'
42 8 0 1 defined $$args{'inline_css'} && $$args{'inline_css'} eq '0'
62 23 0 2 $token_tag eq 'link' and $$token_attrs{'type'} eq 'text/css'
82 0 1 4 $embed and $$embed_tags{$token_tag}{$attr}
137 5 0 1 not scalar @$html_mime_parts and defined $plain_text_mime
0 1 4 scalar @$html_mime_parts and not defined $plain_text_mime
0 0 1 scalar @$html_mime_parts and defined $plain_text_mime

or 2 conditions

line l !l condition
44 0 8 $$args{'embed_elements'} || \%Email::MIME::CreateHTML::EMBED
112 9 0 $mimetype ||= 'application/octet-stream'
209 6 3 $args{'objects'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
46 7 1 0 $embed or $inline_css
137 5 1 2 scalar @$html_mime_parts || defined $plain_text_mime
208 9 0 0 $args{'body'} || croak('You must supply a body')