Branch Coverage

blib/lib/Pod/ParseLink.pm
Criterion Covered Total %
branch 25 26 96.1


line true false branch
48 2 21 if $link =~ /^"\s*(.*?)\s*"$/
54 13 8 if $section
55 1 20 if ($page and $page =~ / / and not defined $section) { }
59 3 17 unless $page
60 7 13 unless $section
69 3 14 if ($page and not $section) { }
6 8 elsif (not $page and $section) { }
8 0 elsif ($page and $section) { }
86 8 19 if ($link =~ /\|/)
89 4 23 if ($link =~ /\A\w+:[^:\s]\S*\Z/) { }
91 2 2 if (defined $text and length $text > 0) { }
99 6 17 if (defined $text and length $text > 0) { }
104 3 20 $name && $name =~ /\(\S*\)/ ? :