File Coverage

_build/lib/MyModuleBuilder.pm
Criterion Covered Total %
statement 6 19 31.5
branch n/a
condition n/a
subroutine 2 4 50.0
pod 0 2 0.0
total 8 25 32.0


line stmt bran cond sub pod time code
1             package MyModuleBuilder;
2 1     1   562 use Module::Build;
  1         69202  
  1         40  
3             our @ISA = qw(Module::Build);
4 1     1   471 use ExtUtils::Manifest qw/maniread maniadd/;
  1         4602  
  1         224  
5             sub ACTION_manifest {
6 0     0 0   my $self = shift;
7 0           $self->SUPER::ACTION_manifest;
8              
9 0           my $manifest = maniread;
10 0           my @podpl = grep { /^Gen(.*)\.pod\.PL$/ } keys %$manifest;
  0            
11             my %pod = map {
12 0           my $file = $_;
  0            
13 0           $file =~ s/^Gen(.*)\.PL$/$1/;
14 0           ($file, "Generated Pod") } @podpl;
15 0           maniadd \%pod;
16             }
17              
18             sub ACTION_docs {
19 0     0 0   my $self = shift;
20 0           $self->process_PL_files;
21 0           $self->SUPER::ACTION_docs;
22             }
23              
24             1;