Branch Coverage

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


line true false branch
165 2 88 if ($str =~ /\G\\(.)/cgu) { }
2 86 elsif (not defined $link_start_pos and $str =~ /\G\[/cgu) { }
2 84 elsif (defined $link_start_pos and $str =~ /\G\]\(/cgu) { }
41 43 elsif ($str =~ /\G($MARKER_PATTERN)/cgu) { }
184 6 35 if ($marker eq "`")
185 1 5 if ($str =~ /\G(`)+/cgu)
190 1 5 if length $marker > 1
197 17 18 $tags_in_effect{$tag} ? :
249 2 1 if ($args{'convert_tags'})
289 2 26 if ($tag eq 'link') { }
302 2 73 exists $tags{'link'} ? :
306 0 28 if &any(sub { $_ eq $tag; } , @tags_in_effect)
308 2 26 if ($tag eq 'link') { }
322 6 69 if ($tags{'fixed'}) { }
328 1 5 if length $more and $substr =~ /^`|`$/u
381 2 1 if ($args{'convert_tags'})