Branch Coverage

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


line true false branch
28 2 14 wantarray ? :
56 1 15 unless (defined $pod_section)
70 2 18 if ($child->type eq 'begin') { }
2 16 elsif ($child->type eq 'for') { }
73 1 1 if ($child->body =~ /^text/ms) { }
85 2 0 if ($body =~ /^comment\s*filename=([\w\-\.]+)\s*$/ms)
96 15 0 wantarray ? :
112 14 5 unless ($section)
117 2 17 if ($number_of_example) { }
135 16 4 if (-r $file_or_module) { }
141 1 3 unless ($file)
158 16 66 unless (length $line)
163 62 4 if ($1)
166 19 47 if ($max == 0 or length $spaces < $max)
172 14 1 if ($max > 0)
174 15 62 unless (length $line)