Branch Coverage

blib/lib/Test/Pod/Content.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
36 1 1 if ($section_name eq $section)
44 0 1 unless $@ =~ /^OK\n$/mx
1 0 if ($@)
46 0 1 unless ($found)
59 3 16 if ($section_name eq $section)
67 0 3 unless $@ =~ /^OK\n$/mx
3 0 if ($@)
69 0 3 unless ($found)
77 0 4 if -e $name
79 2 25 if -e "$path/$name"
84 2 3 if -e "$path/$name"
92 21 55 if ($element_name =~ /^head\d$/mx)
104 0 68 if ($element_name =~ /^Document$/mx)
113 17 51 if ($_state eq 'section')
118 51 0 if ($_state eq 'section_content_start')