Branch Coverage

blib/lib/Dist/Zilla/Plugin/Readme/Brief.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
187 0 6 $self->has_installer ? :
189 0 6 if (defined $manual_instructions) { }
201 0 6 if (my $copy = $self->_copyright_from_pod)
210 0 6 if (&first(sub { $_->name =~ /\AMakefile.PL\z/msx; } , @{$self->zilla->files;})) { }
0 6 elsif (&first(sub { $_->name =~ /\ABuild.PL\z/msx; } , @{$self->zilla->files;})) { }
228 0 0 unless @sections
234 6 6 if exists $self->{'_pod_cache'}
290 6 6 unless Pod::Elemental::Selectors::s_command('head1', $nodes[$node_number])
291 0 6 unless uc $self->description_label eq uc $nodes[$node_number]->content
294 0 6 unless (@found)
319 6 6 unless Pod::Elemental::Selectors::s_command('head1', $nodes[$node_number])
320 6 0 unless $nodes[$node_number]->content =~ /COPYRIGHT|LICENSE/imsx
323 6 0 unless (@found)