Branch Coverage

blib/lib/System/InitD/Runner.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
78 0 0 unless ($params{'start'})
82 0 0 unless ($params{'usage'})
86 0 0 if ($params{'daemon_name'}) { }
97 0 0 if ($params{'restart_timeout'})
101 0 0 if ($params{'pid_file'})
107 0 0 if ($params{'kill_signal'})
111 0 0 if ($params{'process_name'})
116 0 0 if ($params{'user'})
119 0 0 if ($params{'group'})
140 0 0 unless ($ARGV[0])
145 0 0 if ($self->can($ARGV[0])) { }
162 0 0 if ($self->is_alive)
175 0 0 unless $self->confirm_permissions
178 0 0 if ($$self{'pid'})
205 0 0 unless ($$self{'pid'})
210 0 0 if ($self->is_alive)
221 0 0 unless ($$self{'pid'})
226 0 0 if ($self->is_alive) { }
248 0 0 unless $$self{'pid'}
250 0 0 if $$self{'_args'}{'process_name'} eq $$self{'pid'}->command and $$self{'pid'}->cankill
273 0 0 unless ($subname and $subref)
277 0 0 if ref $subref ne 'CODE'
290 0 0 unless (exists $$self{'pid'})
296 0 0 unless ($$self{'_args'}{'user'})
303 0 0 unless ($$self{'pid'})
307 0 0 if ($$self{'_args'}{'user'} ne $$self{'pid'}->user)