Branch Coverage

blib/lib/String/Tagged/Markdown.pm
Criterion Covered Total %
branch 31 32 96.8


line true false branch
160 2 85 if ($str =~ /\G\\(.)/cgu) { }
2 83 elsif (not defined $link_start_pos and $str =~ /\G\[/cgu) { }
2 81 elsif (defined $link_start_pos and $str =~ /\G\]\(/cgu) { }
40 41 elsif ($str =~ /\G($MARKER_PATTERN)/cgu) { }
179 5 35 if ($marker eq "`")
180 1 4 if ($str =~ /\G(`)+/cgu)
185 1 4 if length $marker > 1
191 17 18 $tags_in_effect{$tag} ? :
241 2 1 if ($args{'convert_tags'})
278 2 25 if ($tag eq 'link') { }
291 2 66 exists $tags{'link'} ? :
295 0 27 if &any(sub { $_ eq $tag; } , @tags_in_effect)
297 2 25 if ($tag eq 'link') { }
311 5 63 if ($tags{'fixed'}) { }
317 1 4 if length $more and $substr =~ /^`|`$/u
368 2 1 if ($args{'convert_tags'})