blib/lib/Beam/Emitter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 18 | 88.8 |
line | true | false | branch |
---|---|---|---|
326 | 0 | 52 | unless &use_module($class)->isa('Beam::Listener') |
335 | 15 | 1 | if defined $self |
359 | 1 | 23 | if (not $sub) { } |
366 | 2 | 21 | if ($idx > $#{$listeners;}) |
396 | 35 | 2 | unless defined $args{'emitter'} |
400 | 1 | 36 | unless exists $self->_listeners->{$name} |
408 | 2 | 36 | if $event->is_stopped |
426 | 1 | 2 | unless exists $self->_listeners->{$name} |
451 | 0 | 4 | unless $self->_listeners->{$name} |