Condition Coverage

lib/Text/Markdown.pm
Criterion Covered Total %
condition 28 59 47.4


and 3 conditions

line !l l&&!r l&&r condition
167 14 0 1 defined $p{'tab_width'} and $p{'tab_width'} =~ /^\d+$/
390 116 27 15 $$options{'interpret_markdown_on_attribute'} and $opening_tag =~ s/$markdown_attr//i
736 22 13 35 not defined $url and defined $$self{'_urls'}{$link_id}
750 1 21 35 not defined $title and defined $link_id
22 32 3 not defined $title and defined $link_id and defined $$self{'_titles'}{$link_id}
851 0 0 0 not defined $url and defined $$self{'_urls'}{$link_id}
862 0 0 0 not defined $title and length $link_id
0 0 0 not defined $title and length $link_id and defined $$self{'_titles'}{$link_id}
0 0 0 not defined $title and length $link_id and defined $$self{'_titles'}{$link_id} and length $$self{'_titles'}{$link_id}
867 0 0 0 defined $title and length $title
1023 16 4 2 $list_type eq 'ol' and $$self{'trust_list_start_value'}
1387 0 284 0 defined $text and length $text

or 2 conditions

line l !l condition
165 0 15 $p{'base_url'} ||= ''
169 0 15 $p{'empty_element_suffix'} ||= ' />'
200 3 45 $options ||= {}
847 0 0 $alt_text ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
174 0 15 0 ref $class || $class
589 0 261 0 my $tokens ||= $self->_TokenizeHTML($text)
624 0 261 0 my $tokens ||= $self->_TokenizeHTML($text)
1079 0 0 10 $leading_line or $item =~ /\n{2,}/
1144 0 3 34 $leading_line or $item =~ /\n{2,}/