Branch Coverage

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


line true false branch
243 3 88 if (defined $config_string)
253 2 89 if (defined $config_string)
266 0 53 unless (defined $source and defined $DEFAULT_LIB_SECTIONS{$source})
271 53 0 unless (defined $language and defined $DEFAULT_LIB_SECTIONS{$source}{$language})
278 53 0 unless ($self->_sections_specified("_lib_sections"))
281 53 0 unless ($self->_sections_specified("_script_sections"))
294 102 4 unless defined $sections
308 2 28 unless $doc->schild(0)
316 1 27 $doc->is_program ? :
319 28 0 unless $pods_ref
334 0 0 unless (exists $found_sections{$required})