Branch Coverage

blib/lib/LedgerSMB/Installer/Configuration.pm
Criterion Covered Total %
branch 14 46 30.4


line true false branch
47 0 3 unless $name and $id
54 1 2 if ($r->{'success'}) { }
1 1 elsif ($r->{'status'} == 599) { }
77 1 1 unless ("File::Spec"->file_name_is_absolute($installpath))
79 1 0 if (@dirs)
80 1 0 if ($dirs[0] ne "File::Spec"->curdir)
86 1 1 if (not "File::Spec"->file_name_is_absolute($locallib))
88 1 0 if (@dirs == 1) { }
98 0 0 unless $self->sys_pkgs
99 0 0 if $self->{'_deps'}
101 0 0 if (defined $self->compute_deps)
107 0 0 unless $self->{'_deps_retrieved'}
113 0 0 if (defined $self->prepare_env)
117 0 0 if $self->assume_yes
120 0 0 if (-t STDIN) { }
126 0 0 if (lc $key eq 'y') { }
0 0 elsif (lc $key eq 'n' or $key eq "\n") { }
148 0 0 if (defined $self->uninstall_env)
156 0 0 if defined $self->version
160 0 0 if ($r->{'success'}) { }
0 0 elsif ($r->{'status'} == 599) { }
163 0 0 if (defined $content and defined $content->{'tag_name'}) { }
202 14 18 if defined $arg