| blib/lib/Evented/Object.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 19 | 40 | 47.5 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 127 | 16 | 0 | 0 | $caller && ref $caller eq 'ARRAY' | 
| 209 | 0 | 0 | 2 | &blessed($eo_maybe) and $eo_maybe->isa('Evented::Object') | 
| 210 | 2 | 0 | 0 | ref $_[0] and ref $_[0] eq 'ARRAY' | 
| 251 | 13 | 0 | 0 | &blessed($eo_maybe) and $eo_maybe->isa('Evented::Object') | 
| 403 | 0 | 0 | 0 | &blessed($obj) and $obj->isa('Evented::Object') | 
| line | l | !l | condition | 
|---|---|---|---|
| 82 | 15 | 20 | delete $opts{'priority'} || 0 | 
| 89 | 9 | 26 | $event_store->{$event_name}{$priority} ||= [] | 
| 324 | 0 | 3 | $eo->{$props}{'listeners'} ||= [] | 
| 372 | 0 | 0 | $monitors{$pkg} ||= [] | 
| 425 | 50 | 16 | $eo->{$events} ||= {} | 
| 427 | 1 | 12 | $store->{'events'} ||= {} | 
| 433 | 0 | 0 | $eo->{$props} ||= {} | 
| 435 | 0 | 0 | $store->{'props'} ||= {} | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 83 | 5 | 2 | 28 | defined $opts{'before'} or defined $opts{'after'} | 
| 98 | 0 | 35 | 0 | $opts{'_caller'} // $caller[0] | 
| 150 | 0 | 1 | 1 | ref $cb ne 'HASH' or $cb->{'name'} eq $name |