Branch Coverage

blib/lib/Pod/Example.pm
Criterion Covered Total %
branch 32 32 100.0


line true false branch
28 4 18 wantarray ? :
56 1 21 unless (defined $pod_section)
71 2 30 if ($child->type eq 'begin') { }
5 25 elsif ($child->type eq 'for') { }
74 1 1 if ($child->body =~ /^text/ms) { }
90 3 2 if ($first_node and $child->body eq "comment")
93 2 1 if ($body =~ /^filename=([\w\-\.]+)\s*$/ms)
123 19 7 unless ($section)
130 4 22 if ($number_of_example) { }
153 23 4 if (-r $file_or_module) { }
159 1 3 unless ($file)
176 22 90 unless (length $line)
181 86 4 if ($1)
184 25 65 if ($max == 0 or length $spaces < $max)
190 20 1 if ($max > 0)
192 21 86 unless (length $line)