Branch Coverage

blib/lib/Perl/Build.pm
Criterion Covered Total %
branch 4 78 5.1


line true false branch
30 0 0 if ($release->{'name'} =~ /^perl-(5.(\d+).(\d+)(-\w+)?)$/)
45 0 0 $^O eq 'solaris' ? :
47 0 0 $dist_tarball =~ /xz$/ ? :
0 0 $dist_tarball =~ /bz2$/ ? :
55 0 0 unless $? == 0
62 0 0 if @prefixes != 1
65 0 0 unless system(qq[cd "$destdir"; $tar x${type}f "$abs_tarball"]) == 0
80 0 5 if $@
81 5 0 if $dist_tarball and $dist_tarball_url
83 0 0 unless ($dist_tarball or $dist_tarball_url)
95 0 5 unless $x
105 0 0 if ($release->{'name'} eq "perl-$version")
120 0 0 if ($response->{'success'}) { }
123 0 0 $response->{'status'} == 599 ? :
134 0 0 if ($response->{'success'}) { }
137 0 0 $response->{'status'} == 599 ? :
146 0 0 if $args{'patchperl'}
153 0 0 unless my $dst_path = $args{'dst_path'}
160 0 0 if (-f $dist_tarball_path) { }
181 0 0 if $args{'patchperl'}
188 0 0 unless my $dst_path = $args{'dst_path'}
194 0 0 if (-f $dist_tarball_path) { }
214 0 0 if $args{'patchperl'}
219 0 0 unless my $dst_path = $args{'dst_path'}
235 0 0 if $args{'patchperl'}
238 0 0 unless my $src_path = $args{'src_path'}
240 0 0 unless my $dst_path = $args{'dst_path'}
242 0 0 unless my $configure_options = $args{'configure_options'}
252 0 0 unless (grep {/eval:scriptdir=/;} @$configure_options)
282 0 0 if ($ENV{'PERL_BUILD_COMPILE_OPTIONS'})
285 0 0 if ($jobs)
289 0 0 if ($test)
290 0 0 if $jobs
296 0 0 if ($dist_version and $dist_version =~ /^5\.([0-9]+)\.([0-9]+)/ and $1 >= 8 || $1 == 7 && $2 == 3)
303 0 0 if ($ENV{'PERL_BUILD_INSTALL_OPTIONS'})
316 0 0 if (ref $cmd eq 'ARRAY') { }
318 0 0 unless system(@$cmd) == 0
322 0 0 unless system($cmd) == 0
332 1 0 if ($version)