Branch Coverage

blib/lib/Notify/NoticePool.pm
Criterion Covered Total %
branch 3 56 5.3


line true false branch
32 0 1 unless exists $$options{'file_store'}
36 1 0 exists $$options{'transport'} ? :
39 1 0 unless exists $$options{'no_implicit_update'}
50 0 0 unless $interval
68 0 0 unless $retries
88 0 0 unless defined $$entries{$_}->send and defined $$entries{$_}->receive
129 0 0 unless $notice
136 0 0 if (not exists $tied{$$notice_attribs{'id'}}) { }
154 0 0 $updated ? :
169 0 0 if ($$attribs{'status'} == 1) { }
171 0 0 if ($self->sendNotice($notice)) { }
196 0 0 unless $notice
202 0 0 unless exists $tied{$$notice_attribs{'id'}}
218 0 0 unless $notice
222 0 0 if (exists $tied{$$notice_attribs{'id'}}) { }
230 0 0 if ($$db_attribs{'status'} == 3)
252 0 0 unless $notice
259 0 0 unless exists $tied{$$new_attribs{'id'}}
270 0 0 $updated ? :
284 0 0 if $key =~ /^__LAST_ID$/
288 0 0 if ($$notice_attribs{'status'} == 1) { }
0 0 elsif ($$notice_attribs{'status'} == 2) { }
291 0 0 unless $$notice_attribs{'attempts'} and time - $$notice_attribs{'time_updated'} > $resend_interval
296 0 0 if ($self->sendNotice($outgoing)) { }
306 0 0 if ($$notice_attribs{'attempts'} > $max_retries)
318 0 0 if ($response)
345 0 0 unless exists $$self{'__TRANSPORT'}{$$attribs{'transport'}}
357 0 0 unless exists $$self{'__TRANSPORT'}{$$attribs{'transport'}}