Condition Coverage

blib/lib/Test/mysqld.pm
Criterion Covered Total %
condition 5 43 11.6


and 3 conditions

line !l l&&!r l&&r condition
78 6 0 0 defined $self->pid and $$ == $self->_owner_pid
199 0 0 0 defined $v && length $v
266 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'
156 0 0 $sig ||= 15
165 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'}
279 0 0 0 $self->{'_verbose_help'} ||= readpipe