Branch Coverage

blib/lib/Bot/Cobalt/Core/Role/Timers.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
44 0 0 unless (&blessed($item) and $item->isa('Bot::Cobalt::Timer'))
49 0 0 unless ($timer->has_id)
57 0 0 if $self->debug > 1
70 0 0 unless (ref $ev eq 'HASH')
71 0 0 if (ref $ev) { }
84 0 0 if $id
88 0 0 unless ($type)
89 0 0 if (defined $ev->{'Text'} and defined $ev->{'Context'}) { }
99 0 0 if ($type eq 'event')
100 0 0 unless (defined $ev->{'Event'})
113 0 0 if (grep {$type eq $_;} 'msg', 'message', 'privmsg', 'action')
114 0 0 unless (defined $ev->{'Text'} and defined $ev->{'Target'})
122 0 0 if defined $ev->{'Context'}
145 0 0 unless $id and $self->TimerPool->exists($id)
147 0 0 if $self->debug > 1
156 0 0 unless $alias
161 0 0 if $entry->alias eq $alias
164 0 0 wantarray ? :
171 0 0 unless $id
173 0 0 if $self->debug > 1
176 0 0 unless $self->TimerPool->exists($id)
186 0 0 unless $alias
191 0 0 if ($entry->alias eq $alias)
198 0 0 wantarray ? :