blib/lib/Footprintless/Service.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 20 | 75.0 |
line | true | false | branch |
---|---|---|---|
40 | 13 | 13 | if ($actions_spec) |
41 | 5 | 8 | if ($actions_spec->{'command'}) { } |
4 | 4 | elsif ($actions_spec->{'command_args'}) { } | |
4 | 0 | elsif ($actions_spec->{'use_pid'}) { } | |
50 | 0 | 0 | unless $self->{'spec'}{'pid_file'} or $self->{'spec'}{'pid_command'} |
63 | 4 | 0 | $pid_file ? : |
64 | 1 | 3 | if ($action eq 'kill') { } |
1 | 2 | elsif ($action eq 'status') { } | |
79 | 0 | 17 | unless $command |
90 | 1 | 25 | %options && $options{'runner_options'} ? : |