Branch Coverage

blib/lib/ExtUtils/Helpers/Unix.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
17 1 0 if (-T $filename)
20 1 0 if (@lines and $lines[0] =~ s[ \A \#! \s* (?:/\S+/)? perl \b (.*) \z ][$ExtUtils::Helpers::Unix::Config{'startperl'}$1]msx)
21 0 1 unless open my $out, ">$layer", "$filename.new"
24 0 1 unless rename $filename, "$filename.bak"
25 0 1 unless rename "$filename.new", $filename
37 0 5 unless $ENV{'HOME'}
4 5 unless s[ ^ ~ (?= /|$)][(getpwuid $>)[7] unless $ENV{'HOME'};]ex
38 2 1 unless (getpwnam $1)[7]