Branch Coverage

blib/lib/PheMail/Vhost.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
57 0 0 unless $PheMail::Vhost::dbh = 'DBI'->connect('DBI:' . $PheMail::Vhost::SQL{'backend'} . ':dbname=' . $PheMail::Vhost::SQL{'database'} . ';host=' . $PheMail::Vhost::SQL{'hostname'}, $PheMail::Vhost::SQL{'user'}, $PheMail::Vhost::SQL{'pass'})
81 0 0 $PheMail::Vhost::sname ? :
82 0 0 if (-d "/home/customers/$PheMail::Vhost::sdomain/wwwroot/$PheMail::Vhost::droot") { }
83 0 0 if ($PheMail::Vhost::htaccess) { }
84 0 0 unless open HT, "> /home/customers/$PheMail::Vhost::sdomain/wwwroot/$PheMail::Vhost::droot/.htaccess"
89 0 0 if -e "/home/customers/$PheMail::Vhost::sdomain/wwwroot/$PheMail::Vhost::droot/.htaccess"
93 0 0 unless ($PheMail::Vhost::redirect)
98 0 0 if $PheMail::Vhost::extensions
104 0 0 if $handler
105 0 0 if $dotext and $handler
111 0 0 if ($PheMail::Vhost::disablefunc)
115 0 0 if ($PheMail::Vhost::open_basedir > 0)
118 0 0 if ($PheMail::Vhost::safe_mode > 0) { }
123 0 0 if ($PheMail::Vhost::magic_quotes > 0) { }
130 0 0 if ($PheMail::Vhost::enableauth)
133 0 0 $PheMail::Vhost::authname ? :
146 0 0 if ($PheMail::Vhost::enableauth)
147 0 0 unless open FOOPWD, "> /usr/home/customers/$PheMail::Vhost::sdomain/wwwroot/$PheMail::Vhost::droot/.htpasswd"
158 0 0 if ($PheMail::Vhost::eredirect) { }