blib/lib/Evented/Object.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 40 | 47.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
128 | 16 | 0 | 0 | $caller && ref $caller eq 'ARRAY' |
210 | 0 | 0 | 2 | &blessed($eo_maybe) and $eo_maybe->isa('Evented::Object') |
211 | 2 | 0 | 0 | ref $_[0] and ref $_[0] eq 'ARRAY' |
252 | 13 | 0 | 0 | &blessed($eo_maybe) and $eo_maybe->isa('Evented::Object') |
404 | 0 | 0 | 0 | &blessed($obj) and $obj->isa('Evented::Object') |
line | l | !l | condition |
---|---|---|---|
83 | 15 | 20 | delete $opts{'priority'} || 0 |
90 | 9 | 26 | $event_store->{$event_name}{$priority} ||= [] |
325 | 0 | 3 | $eo->{$props}{'listeners'} ||= [] |
373 | 0 | 0 | $monitors{$pkg} ||= [] |
426 | 50 | 16 | $eo->{$events} ||= {} |
428 | 1 | 12 | $store->{'events'} ||= {} |
434 | 0 | 0 | $eo->{$props} ||= {} |
436 | 0 | 0 | $store->{'props'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
84 | 5 | 2 | 28 | defined $opts{'before'} or defined $opts{'after'} |
99 | 0 | 0 | 35 | $opts{'_caller'} // $caller[0] |
151 | 0 | 1 | 1 | ref $cb ne 'HASH' or $cb->{'name'} eq $name |