Branch Coverage

blib/lib/App/Pm2Port.pm
Criterion Covered Total %
branch 2 76 2.6


line true false branch
91 0 0 unless $requires
96 0 0 if $module eq 'perl'
98 0 0 if (not $ports) { }
100 0 0 if ($cpan_module) { }
106 0 0 if $distribution =~ /^perl-/
115 0 0 if $deps{$distribution}
119 0 0 unless ($location)
123 0 0 unless (fork)
137 0 0 if $ports
178 0 0 if $$portupload_file{'apache'}
180 0 0 if $module->get_installer_type =~ /build/i
181 0 0 $$file{'requires'}{'perl'} ? :
187 0 0 if $man1
188 0 0 if $man3
191 0 0 if ($$portupload_file{'additional'}) { }
221 0 0 if (-e <~/.porttools>)
272 0 0 unless -f glob("~/.portupload/$$self{'module'}.yml")
276 0 0 $ENV{'NOTEST'} ? :
0 0 $ENV{'NO_UPLOAD'} ? :
282 0 0 if $ENV{'INFO_ONLY'}
288 0 0 if (system("cvs -d :pserver:anoncvs\@anoncvs.tw.FreeBSD.org/home/ncvs co ports/$$portupload_file{'category'}/p5-$$file{'name'}") == 0)
294 0 0 unless (chdir "ports/$$portupload_file{'category'}/p5-$$file{'name'}")
296 0 0 unless mkdir "ports/p5-$$file{'name'}"
297 0 0 unless chdir "ports/p5-$$file{'name'}"
303 0 0 if (not $$portupload_file{'distfiles'}) { }
313 0 0 if (not system("$ENV{'EDITOR'} Makefile"))
316 0 0 if (system 'port test')
318 0 0 unless ($ENV{'NOTEST'})
322 0 0 if (-d 'CVS') { }
343 0 0 if (m[^$App::Pm2Port::Config{'man1dir'}/(.+)$])
347 0 0 if (m[^$App::Pm2Port::Config{'man3dir'}/(.+)$])
351 0 0 if (m[^$App::Pm2Port::Config{'installsitelib'}/(.+)])
356 0 0 if (m[^$App::Pm2Port::Config{'installsitebin'}/(.+)])
362 0 0 unless ($module->get_installer_type =~ /build/i)
381 0 5 if $file eq '.'
399 0 2 if ($categories)
427 0 0 if (-e 'META.json') { }
428 0 0 unless open my $f, '<', 'META.json'