Branch Coverage

blib/lib/DBIx/QuickDB/Watcher.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
38 0 0 if $self->{'server_pid'}
41 0 0 unless pipe $rh, $wh
44 0 0 unless defined $pid
46 0 0 if ($pid)
52 0 0 unless $self->{'watcher_pid'}
53 0 0 unless $self->{'server_pid'}
61 0 0 unless defined $pid
62 0 0 if $pid
73 0 0 if $self->{'stopped'}++
74 0 0 unless my $pid = $self->{'watcher_pid'}
80 0 0 if $self->{'eliminated'}++
81 0 0 unless my $pid = $self->{'watcher_pid'}
87 0 0 if $self->{'detached'}++
88 0 0 unless my $pid = $self->{'watcher_pid'}
94 0 0 unless my $pid = $self->{'watcher_pid'}
99 0 0 if ($waited > 10)
123 0 0 if kill 0, $self->{'master_pid'}
129 0 0 if $self->{'detached'}
137 0 0 unless my $pid = $self->{'server_pid'}
139 0 0 if (kill $db->stop_sig, $pid) { }
142 0 0 if $self->{'detached'}
143 0 0 if ($exit or $check ne $pid)
147 0 0 if (my $log_file = $self->{'log_file'})
148 0 0 if (open my $fh, '<', $log_file) { }
158 0 0 if $self->{'detached'}
167 0 0 if $db->should_cleanup
173 0 0 if $self->{'server_pid'}
188 0 0 if ($self->{'master_pid'} == $$) { }
193 0 0 if $self->{'log_file'}