Branch Coverage

blib/lib/Daemon/Simple.pm
Criterion Covered Total %
branch 2 20 10.0


line true false branch
16 0 0 unless ($command)
21 0 0 unless ($homedir)
25 0 0 unless ($pidfile)
31 0 0 if ($command eq 'start') { }
0 0 elsif ($command eq 'stop') { }
33 0 0 if ($is_running) { }
46 0 0 if ($is_running) { }
65 0 0 if ($cpid)
87 0 1 unless -e $pidfile
90 0 1 unless $pid =~ /^(\d+)$/