Branch Coverage

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


line true false branch
28 3 14 wantarray ? :
56 1 16 unless (defined $pod_section)
70 2 20 if ($child->type eq 'begin') { }
3 17 elsif ($child->type eq 'for' and $child->body eq 'comment') { }
73 1 1 if ($child->body =~ /^text/ms) { }
86 2 1 if ($body =~ /^filename=([\w\-\.]+)\s*$/ms)
113 15 5 unless ($section)
118 2 18 if ($number_of_example) { }
136 17 4 if (-r $file_or_module) { }
142 1 3 unless ($file)
159 17 70 unless (length $line)
164 66 4 if ($1)
167 20 50 if ($max == 0 or length $spaces < $max)
173 15 1 if ($max > 0)
175 16 66 unless (length $line)