Branch Coverage

blib/lib/CTK/FilePid.pm
Criterion Covered Total %
branch 23 32 71.8


line true false branch
165 0 6 if (defined $tst and ref $tst eq 'HASH') { }
183 0 54 if scalar @_ >= 1
188 6 29 if scalar @_ >= 1
194 4 1 kill(0, $pid) ? :
195 4 1 $r ? :
202 0 5 unless -e $file
209 0 5 unless fsave($file, "$pid\n")
216 0 27 unless $self->file
221 6 7 unless $self->pid
227 5 6 unless -e $file
229 0 6 unless $pid
236 0 6 unless $self
237 3 3 unless $self->{'autoremove'}
238 1 2 unless $self->{'is_running'}
239 0 2 unless $self->{'owner'}
240 0 2 unless $self->{'owner'} == $self->_get_pid