blib/lib/Net/Peep/Notifier.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 72 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
123 | 0 | 0 | 0 | exists $Net::Peep::Notifier::NOTIFICATION_HOSTS{$client} and exists $Net::Peep::Notifier::NOTIFICATION_RECIPIENTS{$client} |
0 | 0 | 0 | exists $Net::Peep::Notifier::NOTIFICATION_HOSTS{$client} and exists $Net::Peep::Notifier::NOTIFICATION_RECIPIENTS{$client} and exists $Net::Peep::Notifier::NOTIFICATION_LEVEL{$client} | |
150 | 0 | 0 | 0 | $Net::Peep::Notifier::NOTIFICATION_LEVEL{$client} eq 'crit' and $status ne 'crit' |
0 | 0 | 0 | $Net::Peep::Notifier::NOTIFICATION_LEVEL{$client} eq 'warn' and not $status =~ /^(warn|crit)$/ | |
329 | 0 | 0 | 0 | exists $$Net::Peep::Notifier::NOTIFICATIONS{$client} and exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'SEND_TIME'} |
370 | 0 | 0 | 0 | exists $$Net::Peep::Notifier::NOTIFICATIONS{$client} and exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'NOTIFICATIONS'} |
390 | 0 | 0 | 0 | exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'NOTIFICATIONS'} and exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'SEND_TIME'} |
408 | 0 | 0 | 0 | exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'NOTIFICATIONS'} and exists $$Net::Peep::Notifier::NOTIFICATIONS{$client}{'SEND_TIME'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
42 | 0 | 0 | 0 | ref $self || $self |
79 | 0 | 0 | 0 | shift() || confess('client not found') |
92 | 0 | 0 | 0 | shift() || confess('client not found') |
105 | 0 | 0 | 0 | shift() || confess('client not found') |
118 | 0 | 0 | 0 | shift() || confess('notification not found') |
121 | 0 | 0 | 0 | $notification->client || confess('client not found') |
176 | 0 | 0 | 0 | $self->_timeToSend($client) or $force |
187 | 0 | 0 | 0 | $@ or not $return |
215 | 0 | 0 | 0 | shift() || confess('client not found') |
245 | 0 | 0 | 0 | shift() || confess('client not found') |
249 | 0 | 0 | 0 | $Net::Peep::Notifier::NOTIFICATION_LEVEL{$client} || confess("Notification level for client [$client] not found.") |
317 | 0 | 0 | 0 | $notification->client || confess('client not found') |
327 | 0 | 0 | 0 | shift() || confess('client not found') |
341 | 0 | 0 | 0 | shift() || confess('client not found') |
349 | 0 | 0 | 0 | shift() || confess('client not found') |
369 | 0 | 0 | 0 | shift() || confess('client not found') |