blib/lib/Beam/Emitter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 13 | 84.6 |
line | l | !l | condition |
---|---|---|---|
325 | 4 | 47 | delete $args{'class'} || 'Beam::Listener' |
395 | 4 | 32 | delete $args{'class'} || 'Beam::Event' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
365 | 2 | 21 | 1 | $idx > $#{$listeners;} or &refaddr(scalar $listeners->[$idx]->callback) eq &refaddr($sub) |
396 | 1 | 35 | 0 | $args{'emitter'} ||= $self |
397 | 3 | 33 | 0 | $args{'name'} ||= $name |