Condition Coverage

blib/lib/MIME/Lite/HTML.pm
Criterion Covered Total %
condition 60 106 56.6


and 3 conditions

line !l l&&!r l&&r condition
145 21 23 23 $param{'IncludeType'} ne 'extern' and $param{'IncludeType'} ne 'cid'
44 23 0 $param{'IncludeType'} ne 'extern' and $param{'IncludeType'} ne 'cid' and $param{'IncludeType'} ne 'location'
237 558 0 0 $sep ne '"' and $sep ne q[']
250 0 0 63 $url_page and $url_page =~ m[^(https?|ftp|file|nntp)://]
304 243 0 1341 $$url[0] eq 'a' and $$url[1] eq 'href'
243 0 1341 $$url[0] eq 'a' and $$url[1] eq 'href' and $$url[2]
0 801 540 $$url[0] eq 'a' and $$url[1] eq 'href' and $$url[2] and not $$url[2] =~ m[^http://] || $$url[2] =~ /^mailto:/ || $$url[2] =~ /^\#/
801 27 513 $$url[0] eq 'a' and $$url[1] eq 'href' and $$url[2] and not $$url[2] =~ m[^http://] || $$url[2] =~ /^mailto:/ || $$url[2] =~ /^\#/ and not $url_remplace{$urlAbs}
1071 0 0 lc($$url[0] eq 'iframe') || lc($$url[0] eq 'frame') and lc $$url[1] eq 'src'
1071 0 0 lc($$url[0] eq 'iframe') || lc($$url[0] eq 'frame') and lc $$url[1] eq 'src' and $$url[2]
1053 0 18 lc $$url[1] eq 'background' and $$url[2]
1053 0 0 lc $$url[0] eq 'embed' and $$url[4]
1053 0 0 lc $$url[0] eq 'param' and lc $$url[2] eq 'movie'
1053 0 0 lc $$url[0] eq 'param' and lc $$url[2] eq 'movie' and $$url[4]
351 0 702 $$self{'_include'} ne 'extern' and not $self->_matches_extern_images($urlAbs)
351 702 0 $$self{'_include'} ne 'extern' and not $self->_matches_extern_images($urlAbs) and lc $$url[0] eq 'img' || lc $$url[0] eq 'src'
654 12 36 $$self{'_include'} ne 'extern' and not $self->_matches_extern_images($urlAbs) and lc $$url[0] eq 'img' || lc $$url[0] eq 'src' and not $images_read{$urlAbs}
337 6 6 6 $$self{'_include'} ne 'extern' and not $images_read{$urlAbs}
12 0 6 $$self{'_include'} ne 'extern' and not $images_read{$urlAbs} and not $self->_matches_extern_images($urlAbs)
356 0 0 0 $$self{'_include'} ne 'extern' and not $images_read{$urlAbs}
0 0 0 $$self{'_include'} ne 'extern' and not $images_read{$urlAbs} and not $self->_matches_extern_images($urlAbs)
378 0 0 0 $$self{'_include'} ne 'extern' and not $images_read{$urlAbs}
0 0 0 $$self{'_include'} ne 'extern' and not $images_read{$urlAbs} and not $self->_matches_extern_images($urlAbs)
491 45 12 6 @$ref_mail and not $txt
15 12 30 $txt and not @$ref_mail
15 0 12 $txt and @$ref_mail

or 2 conditions

line l !l condition
417 42 21 $gabarit_txt || undef
440 0 708 $$self{'_externimages'} || []

or 3 conditions

line l !l&&r !l&&!r condition
258 0 63 0 $url1 || $res->base
304 0 0 540 $$url[2] =~ m[^http://] || $$url[2] =~ /^mailto:/ || $$url[2] =~ /^\#/
0 0 1071 lc($$url[0] eq 'iframe') || lc($$url[0] eq 'frame')
48 0 654 lc $$url[0] eq 'img' || lc $$url[0] eq 'src'
459 42 6 15 $txt || @$ref_mail
470 42 6 15 $txt or @$ref_mail
540 54 0 54 $milieu =~ /stylesheet/i or $fin =~ /stylesheet/i
544 0 0 54 $fin =~ /shortcut/i or $milieu =~ /shortcut/i