Branch Coverage

blib/lib/MooseX/Event/Role.pm
Criterion Covered Total %
branch 12 28 42.8


line true false branch
29 0 8 unless ($self->event_exists($event))
34 0 8 if (not @{$self->_listeners->{$event};} and $self->can('activate_event'))
74 0 16 unless ($self->event_exists($event))
77 8 8 unless exists $self->_listeners->{$event}
91 0 0 unless ($self->event_exists($event))
94 0 0 unless exists $self->_listeners->{$event}
117 0 16 if (defined *Coro::async{'CODE'}) { }
132 2 0 if (@_) { }
136 0 2 if ($self->can('deactivate_event'))
141 0 0 if ($self->can('deactivate_event'))
155 0 4 unless ($self->event_exists($event))
158 0 4 unless exists $self->_listeners->{$event}
163 4 0 if (ref $aliases eq 'ARRAY') { }
175 0 4 if (not @{$self->_listeners->{$event};} and $self->can('deactivate_event'))