blib/lib/App/Environ.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 24 | 87.5 |
line | true | false | branch |
---|---|---|---|
20 | 1 | 5 | unless (defined $module_class) |
24 | 5 | 0 | unless (exists $MODULES_IDX{$module_class}) |
30 | 0 | 17 | if exists $events_idx->{$event_name} |
33 | 10 | 7 | unless (exists $REGD_HANDLERS{$event_name}) |
36 | 7 | 10 | if ($event_name =~ /\:r$/) { } |
50 | 2 | 6 | if ref $_[-1] eq 'CODE' |
53 | 1 | 7 | unless (defined $event_name) |
57 | 1 | 6 | unless (exists $REGD_HANDLERS{$event_name}) |
58 | 0 | 1 | if defined $cb |
63 | 2 | 4 | if (defined $cb) { } |
87 | 1 | 3 | if (defined $err) |
92 | 2 | 1 | if (@{$handlers;}) |