File Coverage

_build/lib/Module/Build/Win32PingICMP.pm
Criterion Covered Total %
statement 3 12 25.0
branch n/a
condition n/a
subroutine 1 3 33.3
pod 0 2 0.0
total 4 17 23.5


line stmt bran cond sub pod time code
1             package Module::Build::Win32PingICMP;
2 1     1   17160 use Module::Build;
  1         155041  
  1         170  
3             @ISA = qw(Module::Build);
4              
5             sub ppm_name {
6 0     0 0   my $self = shift;
7 0           mkdir('MSWin32-x86-multi-thread');
8 0           return 'MSWin32-x86-multi-thread/' . $self->dist_dir;
9             }
10              
11             sub ACTION_ppmzip {
12 0     0 0   my $self = shift;
13              
14 0           $self->depends_on('ppmdist');
15 0           my $ppmzip = $self->dist_dir().'.ppm.zip';
16 0           my $ppm_name = $self->ppm_name();
17 0           unlink($ppmzip);
18 0           system("zip -9 $ppmzip *.ppd $ppm_name.tar.gz");
19             }
20              
21            
22             1;