Branch Coverage

blib/lib/Clustericious/Command/stop.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
31 0 0 unless (-e $pid_file)
37 0 0 unless -e $pid_file
38 0 0 unless unlink $pid_file
45 0 0 unless ($pid and $pid =~ /^\d+$/)
50 0 0 unless (kill 0, $pid)
59 0 0 if ($nap > 5)
73 0 0 unless @got and $got[0]
76 0 0 unless ($pid)
90 0 0 if $cnf
92 0 0 unless system("nginx -p $prefix $cnf -s quit") == 0
104 0 0 unless $self->app->sanity_check
111 0 0 if /hypnotoad/
112 0 0 if /plackup/
113 0 0 if /lighttpd/
114 0 0 if /daemon/
115 0 0 if /nginx/
116 0 0 if /apache/