Branch Coverage

blib/lib/App/MonM/Notifier/Agent.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
160 0 0 if ($userreqs and ref $userreqs eq 'ARRAY') { }
0 0 elsif ($userreqs and not ref $userreqs) { }
170 0 0 if (@ureqs)
171 0 0 unless grep {$_ eq $u;} @ureqs
197 0 0 unless is_hash($dbi_conf)
199 0 0 if ($store->status) { }
211 0 0 unless defined $value
212 0 0 $value ? :
218 0 0 unless defined $value
220 0 0 $value ne '' ? :
235 0 0 unless $store and $store->ping
240 0 0 $to ? :
243 0 0 unless is_hash($usernode) and keys %$usernode
254 0 0 unless ($store->add('to', $u, 'channel', $ch_name, 'subject', $in{'subject'}, 'message', $in{'message'}))
266 0 0 unless $store and $store->ping
276 0 0 unless is_hash($usernode) and keys %$usernode
281 0 0 unless checkPubDate($usernode, $ch_name)
286 0 0 unless $store->status
290 0 0 if (&fv2zero($rec->{'expires'}) < time) { }
291 0 0 unless ($store->setStatus($rec->{'id'}, 'EXPIRED'))
298 0 0 if ($status) { }
299 0 0 unless ($store->setStatus($rec->{'id'}, 'SENT'))
303 0 0 unless ($store->setError($rec->{'id'}, 102, $channel->error))