line |
true |
false |
branch |
57
|
0 |
0 |
if ($self->_sendTimeExists($client)) { } |
65
|
0 |
0 |
if ($time - $last_send_time > $Net::Peep::Notifier::NOTIFICATION_INTERVAL) { } |
81
|
0 |
0 |
if (exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}) { } |
94
|
0 |
0 |
unless (exists $Net::Peep::Notifier::NOTIFICATION_RECIPIENTS{$client}) |
95
|
0 |
0 |
wantarray ? : |
98
|
0 |
0 |
wantarray ? : |
107
|
0 |
0 |
unless (exists $Net::Peep::Notifier::NOTIFICATION_HOSTS{$client}) |
108
|
0 |
0 |
wantarray ? : |
111
|
0 |
0 |
wantarray ? : |
123
|
0 |
0 |
if (exists $Net::Peep::Notifier::NOTIFICATION_HOSTS{$client} and exists $Net::Peep::Notifier::NOTIFICATION_RECIPIENTS{$client} and exists $Net::Peep::Notifier::NOTIFICATION_LEVEL{$client}) { } |
126
|
0 |
0 |
unless (scalar $self->_getNotificationRecipients($client)) |
134
|
0 |
0 |
unless (scalar @hosts) |
144
|
0 |
0 |
if $host eq $Net::Peep::Notifier::HOSTNAME |
145
|
0 |
0 |
if $host =~ /^(all|localhost|127\.0\.0\.1)$/ |
146
|
0 |
0 |
if $host eq 'none' |
150
|
0 |
0 |
if ($Net::Peep::Notifier::NOTIFICATION_LEVEL{$client} eq 'crit' and $status ne 'crit') { } |
|
0 |
0 |
elsif ($Net::Peep::Notifier::NOTIFICATION_LEVEL{$client} eq 'warn' and not $status =~ /^(warn|crit)$/) { } |
164
|
0 |
0 |
if ($ok) { } |
168
|
0 |
0 |
unless $client |
170
|
0 |
0 |
unless scalar @Net::Peep::Notifier::SMTP_RELAYS |
175
|
0 |
0 |
if ($self->_notificationExists($client)) { } |
176
|
0 |
0 |
if ($self->_timeToSend($client) or $force) { } |
187
|
0 |
0 |
if ($@ or not $return) |
217
|
0 |
0 |
if (scalar $self->_getNotifications($client)) |
226
|
0 |
0 |
if ($mailer->send) { } |
247
|
0 |
0 |
unless $self->_notificationExists($client) |
252
|
0 |
0 |
if ($level eq 'crit') { } |
|
0 |
0 |
elsif ($level eq 'warn') { } |
267
|
0 |
0 |
unless $self->_notificationExists($client) |
329
|
0 |
0 |
if (exists $$Net::Peep::Notifier::NOTIFICATIONS{$client} and exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'SEND_TIME'}) { } |
351
|
0 |
0 |
if (exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}) { } |
352
|
0 |
0 |
if (exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'SEND_TIME'}) { } |
370
|
0 |
0 |
if exists $$Net::Peep::Notifier::NOTIFICATIONS{$client} and exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'NOTIFICATIONS'} |
390
|
0 |
0 |
if (exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'NOTIFICATIONS'} and exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'SEND_TIME'}) |
394
|
0 |
0 |
if @notifications |
408
|
0 |
0 |
if (exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'NOTIFICATIONS'} and exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'SEND_TIME'}) |