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 7 0 1 defined $$args{'embed'} && $$args{'embed'} eq '0'
42 7 0 1 defined $$args{'inline_css'} && $$args{'inline_css'} eq '0'
62 21 0 2 $token_tag eq 'link' and $$token_attrs{'type'} eq 'text/css'
82 0 1 4 $embed and $$embed_tags{$token_tag}{$attr}
134 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 7 $$args{'embed_elements'} || \%Email::MIME::CreateHTML::EMBED
112 9 0 $mimetype ||= 'application/octet-stream'
205 6 2 $args{'objects'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
46 6 1 0 $embed or $inline_css
134 5 1 1 scalar @$html_mime_parts || defined $plain_text_mime
204 8 0 0 $args{'body'} || croak('You must supply a body')