Branch Coverage

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


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