Condition Coverage

blib/lib/Test/mysqld.pm
Criterion Covered Total %
condition 5 54 9.2


and 3 conditions

line !l l&&!r l&&r condition
78 6 0 0 defined $self->pid and $$ == $self->_owner_pid
191 0 0 0 not $self->_is_maria and ($self->_mysql_major_version || 0) >= 8
204 0 0 0 defined $v && length $v
225 0 0 0 !$self->_is_maria && ($self->_mysql_major_version || 0) >= 8
0 0 0 $self->copy_data_from and not !$self->_is_maria && ($self->_mysql_major_version || 0) >= 8
273 0 0 0 $path =~ s[/bin/mysql$][/$subdir/$prog] and -x $path

or 2 conditions

line l !l condition
87 0 0 $self->my_cnf->{'bind-address'} || '127.0.0.1'
91 0 0 $args{'user'} ||= 'root'
92 0 0 $args{'dbname'} ||= 'test'
155 0 0 $sig ||= 15
164 0 0 $sig ||= 15
191 0 0 $self->_mysql_major_version || 0

or 3 conditions

line l !l&&r !l&&!r condition
54 0 6 0 $self->my_cnf->{'socket'} ||= $self->base_dir . '/tmp/mysql.sock'
55 0 6 0 $self->my_cnf->{'datadir'} ||= $self->base_dir . '/var'
56 0 6 0 $self->my_cnf->{'pid-file'} ||= $self->base_dir . '/tmp/mysqld.pid'
57 0 6 0 $self->my_cnf->{'tmpdir'} ||= $self->base_dir . '/tmp'
85 0 0 0 $args{'port'} ||= $self->my_cnf->{'port'}
87 0 0 0 $args{'host'} ||= $self->my_cnf->{'bind-address'} || '127.0.0.1'
89 0 0 0 $args{'mysql_socket'} ||= $self->my_cnf->{'socket'}
286 0 0 0 $self->{'_verbose_help'} ||= readpipe