Branch Coverage

blib/lib/Pod/Abstract/Parser.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
107 37 17 if ($paragraph =~ s/([ \t]*\n[ \t]*\n)$//s)
111 7 47 if ($self->cutting) { }
113 0 7 $paragraph ? :
132 30 47 if (@should_end) { }
6 41 elsif (@should_pull) { }
144 0 47 if ($no_parse{$top->type} and not $top->param("parse_me"))
145 0 0 $paragraph ne '' ? :
159 33 14 if ($attr_name) { }
2 22 elsif ($command =~ /^(begin|for)$/ and $paragraph =~ /^\:/) { }
175 2 45 if ($command eq "for")
186 33 14 $attr_name ? :
193 2 45 if ($command eq "for" and $for_para)
196 1 1 if ($attr{'parse_me'}) { }
208 6 41 if ($pull) { }
213 39 8 if ($section_commands{$command}) { }
264 0 23 if ($no_parse{$top->type} and not $top->param("parse_me"))
277 141 23 unless $self->cutting
305 64 0 if ($paragraph =~ s/([ \t]*\n[ \t]*\n)$//s)
310 1 63 if ($no_parse{$top->type} and not $top->param("parse_me"))
337 51 216 if (ref $c) { }
339 51 0 if ($c->isa('Pod::InteriorSequence')) { }
371 0 11 unless $end_cmd->type eq "[ROOT]"