Branch Coverage

blib/lib/App/podman/Parser/Markdown.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
39 0 37 if ($in_verb)
42 0 0 if ($line =~ /^\`\`\`/u)
47 0 0 if length $para->text
54 0 37 if ($line =~ s/^\`\`\`//u)
63 21 16 if (length $line)
69 1 16 if ($lines[0] =~ /^ /u) { }
3 13 elsif ($lines[0] =~ s/^(#+)\s+//u) { }
2 11 elsif (@lines >= 2 and $lines[1] =~ /^([=-])\1*$/u) { }
3 8 elsif ($lines[0] =~ s/^[*+-]\s+//u) { }
87 1 1 $1 eq '=' ? :
104 2 1 if (@_paragraphs and $_paragraphs[-1]->type eq 'list-bullet') { }
140 0 42 if ($s =~ /\G\\(.)/cgu) { }
4 38 elsif ($s =~ /\G`/cgu) { }
12 26 elsif ($s =~ /\G(([*_])\2?)/cgu) { }
1 25 elsif ($s =~ /\G\[(.*?)\]/cgu) { }
25 0 elsif ($s =~ /\G([^`\\*_[]+)/cgu) { }
150 8 4 length $1 > 1 ? :
151 6 6 $tags{$tag} ? :