Condition Coverage

blib/lib/Test/mysqld.pm
Criterion Covered Total %
condition 5 46 10.8


and 3 conditions

line !l l&&!r l&&r condition
78 6 0 0 defined $self->pid and $$ == $self->_owner_pid
188 0 0 0 not $self->use_mysqld_initialize and $self->copy_data_from
201 0 0 0 defined $v && length $v
245 0 0 0 $self->use_mysqld_initialize and $self->copy_data_from
272 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'
154 0 0 $sig ||= 15
163 0 0 $sig ||= 15

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'}