Branch Coverage

blib/lib/Proc/PidUtil.pm
Criterion Covered Total %
branch 7 18 38.8


line true false branch
72 0 0 unless ($path)
76 0 0 unless (-w $path)
83 0 0 if ($job)
84 0 0 if $message
103 0 3 unless -e $pidfile and -r $pidfile and open PID, $pidfile
112 0 3 unless $_ and not $_ =~ /\D/
113 2 1 kill(0, $_) ? :
128 2 1 unless $pid
130 0 3 unless open PID, '>' . $pidfile