Branch Coverage

blib/lib/Test/DB/Shared/mysqld.pm
Criterion Covered Total %
branch 13 26 50.0


line true false branch
163 1 1 unless $prove->{'args'}
171 1 1 if ($config_file) { }
174 0 1 if (not -e $config_file) { }
222 14 0 if (not -e $self->_mysqld_file) { }
225 14 0 unless my $mysqld = 'Test::mysqld'->new(%{$self->_testmysqld_args;})
271 0 7 if ($$ != $self->_instance_pid)
295 0 0 if ($count_row)
310 0 7 if ($$ != $self->_instance_pid)
332 0 0 if (my(@other_instances) = keys %{$PROCESS_INSTANCES;})
335 0 0 if (my $test_mysqld = $self->_holds_mysqld)
342 0 0 if (my $test_mysqld = $self->_holds_mysqld)
380 8 15 if ($in_monitor->{$self})
391 14 1 if ($err)