Branch Coverage

blib/lib/Perl/Critic/Policy/Documentation/RequirePodSections.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
243 5 95 if (defined $config_string)
253 3 97 if (defined $config_string)
266 0 62 unless (defined $source and defined $DEFAULT_LIB_SECTIONS{$source})
271 62 0 unless (defined $language and defined $DEFAULT_LIB_SECTIONS{$source}{$language})
278 60 2 unless ($self->_sections_specified("_lib_sections"))
281 61 1 unless ($self->_sections_specified("_script_sections"))
294 117 7 unless defined $sections
308 3 36 unless $doc->schild(0)
316 5 31 $doc->is_program ? :
319 29 7 unless $pods_ref
334 44 11 unless (exists $found_sections{$required})