Branch Coverage

blib/lib/Markdown/To/POD.pm
Criterion Covered Total %
branch 23 98 23.4


line true false branch
55 3 0 unless defined $p{'tab_width'} and $p{'tab_width'} =~ /^\d+$/
59 0 3 $p{'trust_list_start_value'} ? :
71 3 3 unless (ref $self)
72 3 0 if ($self ne 'Markdown::To::POD') { }
97 0 3 $$options{'urls'} ? :
188 0 0 if ($3)
201 0 0 unless defined $input
202 0 0 if (&Encode::is_utf8($input)) { }
257 0 12 if (defined $2) { }
261 0 0 if ($tag) { }
262 0 0 if ($$options{'interpret_markdown_on_attribute'} and $opening_tag =~ s/$markdown_attr//i)
264 0 0 if ($markdown =~ /^(1|on|yes)$/) { }
471 2 5 if ($$cur_token[0] eq 'tag') { }
503 2 5 if ($$cur_token[0] eq 'tag')
541 0 0 if ($link_id eq '')
609 0 0 unless defined $attributes
611 0 0 if (not defined $url and defined $$self{'_urls'}{$link_id})
615 0 0 unless (defined $url)
625 0 0 if (not defined $title and defined $link_id and defined $$self{'_titles'}{$link_id})
629 0 0 if (defined $title)
637 0 0 $title ? :
671 0 0 if ($link_id eq '')
705 0 0 if (defined $6)
721 0 0 unless defined $attributes
727 0 0 if (not defined $url and defined $$self{'_urls'}{$link_id})
732 0 0 unless defined $url
738 0 0 if (not defined $title and length $link_id and defined $$self{'_titles'}{$link_id} and length $$self{'_titles'}{$link_id})
743 0 0 if (defined $title and length $title)
857 0 3 if ($$self{'_list_level'}) { }
864 0 0 $marker =~ /$marker_ul/ ? :
868 0 0 $list_type eq 'ul' ? :
883 0 0 $marker =~ /$marker_ul/ ? :
887 0 0 $list_type eq 'ul' ? :
902 0 0 if ($list_type eq 'ol' and $$self{'trust_list_start_value'})
962 0 0 if ($leading_line or $item =~ /\n{2,}/) { }
1028 0 0 if ($leading_line or $item =~ /\n{2,}/) { }
1151 0 1 if (defined $blosxom::version)
1160 1 1 $1 eq '<' ? :
1 0 if $do_angle_bracket
1176 1 1 if ($content =~ /[<>]/) { }
1270 3 0 unless (defined $$self{'_html_blocks'}{$_})
1283 0 3 if (defined $$self{'_html_blocks'}{$_})
1295 0 3 unless defined $text and length $text
1405 0 0 if ($char eq '@') { }
0 0 elsif ($char ne ':') { }
1413 0 0 $r < 0.45 ? :
0 0 $r > 0.9 ? :
1470 4 0 if ($pos < $tag_start)
1476 6 0 if $pos < $len