Branch Coverage

blib/lib/String/Tagged/Markdown.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
165 2 94 if ($str =~ /\G\\(.)/cgu) { }
3 91 elsif (not defined $link_start_pos and $str =~ /\G\[/cgu) { }
3 88 elsif (defined $link_start_pos and $str =~ /\G\]\(/cgu) { }
43 45 elsif ($str =~ /\G($MARKER_PATTERN)/cgu) { }
184 6 37 if ($marker eq "`")
185 1 5 if ($str =~ /\G(`)+/cgu)
190 1 5 if length $marker > 1
197 18 19 $tags_in_effect{$tag} ? :
244 0 1 unless defined(my $uri = $v->{'uri'})
253 3 2 if ($args{'convert_tags'})
293 3 27 if ($tag eq 'link') { }
306 3 76 exists $tags{'link'} ? :
310 0 30 if &any(sub { $_ eq $tag; } , @tags_in_effect)
312 3 27 if ($tag eq 'link') { }
326 6 73 if ($tags{'fixed'}) { }
332 1 5 if length $more and $substr =~ /^`|`$/u
388 3 2 if ($args{'convert_tags'})