Condition Coverage

blib/lib/Mixin/Event/Dispatch.pm
Criterion Covered Total %
condition 7 10 70.0


and 3 conditions

line !l l&&!r l&&r condition
109 0 1 2 $self->EVENT_DISPATCH_ON_FALLBACK and my $code = $self->can("on_$event_name")
201 0 2 0 ref $code and &Scalar::Util::reftype($code) ne 'CODE'

or 2 conditions

line l !l condition
105 6 2 $self->event_handlers->{$event_name} || []
287 17 3 (shift())->{'__MED_event_handlers'} ||= {}