Branch Coverage

blib/lib/LedgerSMB/Installer/OS/unix.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
22 0 0 if $ENV{'POSTGRES_HOME'}
24 0 0 if $ENV{'POSTTGRES_LIB'}
48 0 0 unless ($self->{'cmd'}{'cpanm'})
53 0 0 if ($r->{'status'} == 599) { }
0 0 elsif (not $r->{'success'}) { }
61 0 0 unless open my $fh, ">", $cpanm
65 0 0 unless close $fh
66 0 0 unless chmod 0755, $cpanm
84 0 0 unless system(@deps_cmd) == 0
91 0 0 unless system(@mods_cmd) == 0
108 0 0 if $options{'strip_components'}
110 0 0 if $options{'no_same_owner'}
112 0 0 unless system(@cmd) == 0
120 0 0 unless chmod 0700, $gpgdir
139 0 0 unless open my $fh, "|-", @cmd, "--import"
142 0 0 unless close $fh
145 0 0 unless system(@cmd, "--verify", $sig, $tar) == 0