| line |
true |
false |
branch |
|
151
|
0 |
0 |
if (scalar @_options >= 1) { } |
|
165
|
0 |
0 |
if (wantarray) |
|
175
|
0 |
0 |
unless (ref $services) |
|
187
|
0 |
0 |
if (exists $opt_ref->{'name'}) |
|
208
|
0 |
0 |
if (scalar @_ == 2) |
|
220
|
0 |
0 |
if ($opt_ref->{'ensure'} =~ /^(start|run|enable)/u) { } |
|
|
0 |
0 |
elsif ($opt_ref->{'ensure'} =~ /^(stop|disable)/u) { } |
|
221
|
0 |
0 |
if (exists $opt_ref->{'no_boot'} and $opt_ref->{'no_boot'}) { } |
|
229
|
0 |
0 |
if (exists $opt_ref->{'no_boot'} and $opt_ref->{'no_boot'}) { } |
|
244
|
0 |
0 |
if ($a_status != $b_status) |
|
255
|
0 |
0 |
if ($changed) { } |
|
283
|
0 |
0 |
if ($action eq 'start') { } |
|
|
0 |
0 |
elsif ($action eq 'restart') { } |
|
|
0 |
0 |
elsif ($action eq 'stop') { } |
|
|
0 |
0 |
elsif ($action eq 'reload') { } |
|
|
0 |
0 |
elsif ($action eq 'status') { } |
|
|
0 |
0 |
elsif ($action eq 'ensure') { } |
|
285
|
0 |
0 |
unless ($srvc->status($service)) |
|
287
|
0 |
0 |
if ($srvc->start($service)) { } |
|
289
|
0 |
0 |
unless $is_multiple |
|
293
|
0 |
0 |
unless $is_multiple |
|
302
|
0 |
0 |
if ($srvc->restart($service)) { } |
|
304
|
0 |
0 |
unless $is_multiple |
|
308
|
0 |
0 |
unless $is_multiple |
|
315
|
0 |
0 |
if ($srvc->status($service)) |
|
317
|
0 |
0 |
if ($srvc->stop($service)) { } |
|
319
|
0 |
0 |
unless $is_multiple |
|
323
|
0 |
0 |
unless $is_multiple |
|
331
|
0 |
0 |
if ($srvc->reload($service)) { } |
|
333
|
0 |
0 |
unless $is_multiple |
|
337
|
0 |
0 |
unless $is_multiple |
|
345
|
0 |
0 |
if ($srvc->status($service)) { } |
|
347
|
0 |
0 |
unless $is_multiple |
|
351
|
0 |
0 |
unless $is_multiple |
|
358
|
0 |
0 |
if ($srvc->ensure($service, {'ensure', $options})) { } |
|
360
|
0 |
0 |
unless $is_multiple |
|
363
|
0 |
0 |
unless $is_multiple |
|
374
|
0 |
0 |
if ($changed) { } |