Branch Coverage

blib/lib/Pod/Tests.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
113 42 194 if (/^=(\w.*)/ and $$self{'_sawblank'} and not $$self{'_inblock'}) { }
184 10 elsif ($$self{'_inpod'}) { }
118 4 38 if ($tag eq 'also')
123 28 14 if ($tag eq 'for') { }
6 8 elsif ($tag eq 'begin') { }
4 4 elsif ($tag eq 'cut') { }
133 16 168 if (/^=(?:also )?end (\S+)/ || /^=for (\S+) end\b/ and $$self{'_inblock'} eq $1) { }
141 86 82 if (/^\s*$/) { }
18 64 elsif (not $$self{'_inblock'} || $$self{'_infor'}) { }
142 18 68 if $$self{'_infor'}
151 6 4 if (/^\s*$/) { }
202 10 18 if ($for eq 'example' and defined $pod)
203 10 0 if ($pod eq 'begin') { }
0 0 elsif ($pod eq 'end') { }
229 18 2 if ($$self{'_infor'})
230 4 14 if ($$self{'_infor'} eq 'example_testing')
234 4 14 if ($$self{'_infor'} eq $$self{'_lasttype'}) { }
279 16 0 if ($$self{'_inblock'})
280 0 16 if ($$self{'_inblock'} eq 'example_testing')
284 2 14 if ($$self{'_inblock'} eq $$self{'_lasttype'}) { }
326 0 0 unless (open POD, $file)
470 0 0 if ($$example{'testing'})