line |
true |
false |
branch |
146
|
0 |
0 |
if not $params{$_} |
164
|
0 |
0 |
unless ($params{'config'}) |
167
|
0 |
0 |
unless (-f $params{'config'}) |
185
|
0 |
0 |
if (-f $filepath) { } |
254
|
0 |
0 |
if ($params{'verbose'} > 0) |
276
|
0 |
0 |
'User'->Login eq 'root' ? : |
279
|
0 |
0 |
unless ($self->{'is_root'}) |
293
|
0 |
0 |
if ($@) |
301
|
0 |
0 |
if ($self->{'params'}{'shutdown_after_triggered_monitors'} eq 'all' or $self->{'params'}{'shutdown_after_triggered_monitors'} > $num_monitors) |
326
|
0 |
0 |
unless (defined $toggle and $toggle =~ /^0|1$/) |
331
|
0 |
0 |
if ($toggle and not $self->{'triggered_monitors'}{$monitor_name}) { } |
|
0 |
0 |
elsif ($self->{'triggered_monitors'}{$monitor_name} and not $toggle) { } |
342
|
0 |
0 |
if ($self->{'num_triggered_monitors'} >= $self->{'params'}{'shutdown_after_triggered_monitors'}) |
359
|
0 |
0 |
if ($self->{'params'}{'test'}) { } |
367
|
0 |
0 |
if ($self->{'params'}{'shutdown_args'}) |
371
|
0 |
0 |
if ($self->{'params'}{'use_sudo'}) |
381
|
0 |
0 |
if ($err) |
384
|
0 |
0 |
if ($self->{'params'}{'exit_after_trigger'}) |
419
|
0 |
0 |
if ($monitor->run) { } |