Condition Coverage

lib/Mail/Toaster/Mysql.pm
Criterion Covered Total %
condition 7 50 14.0


and 3 conditions

line !l l&&!r l&&r condition
271 0 0 0 $dir and $dir ne '/var/db/mysql'
591 0 0 0 not -e $start and -e "$etc/rc.d/mysql-server.sh"
594 0 0 0 not -e $start and -e "$etc/init.d/mysql"
595 0 0 0 not -e $start and -e "$etc/init.d/mysql-server"
598 0 0 0 not -e $start and -e "$etc/rc.d/mysql"
599 0 0 0 not -e $start and -e "$etc/rc.d/mysql.sh"

or 2 conditions

line l !l condition
31 0 0 $dot->{'backupfile'} || 'mysql_full_dump'
32 0 0 $dot->{'backup_dir'} || '/var/backups/mysql'
121 0 1 $val->{'driver'} || 'mysql'
0 1 $val->{'database'} || $val->{'db'} || 'mysql'
0 1 $val->{'host'} || 'localhost'
0 1 $val->{'port'} || '3306'
0 1 $val->{'user'} || 'root'
0 1 $val->{'password'} || $val->{'pass'} || ''
0 1 $val->{'dir_m'} || '/var/db/mysql'
408 0 0 $self->conf->{'phpMyAdmin_user'} || 'pma'
409 0 0 $self->conf->{'phpMyAdmin_pass'} || 'pmapass'
410 0 0 $self->conf->{'phpMyAdmin_auth_type'} || 'cookie'
588 0 0 $self->conf->{'system_config_dir'} || '/usr/local/etc'

or 3 conditions

line l !l&&r !l&&!r condition
48 0 0 0 -e "$backupdir/$yy/$mm/$dd/$backupfile" or -e "$backupdir/$yy/$mm/$dd/$backupfile.gz"
583 0 0 0 -e '/tmp/mysql.sock' or -e '/opt/local/var/run/mysqld/mysqld.sock'