| blib/lib/Async/Hooks.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 11 | 81.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 47 | 22 | 0 | 0 | ref $args eq 'CODE' and not $cleanup |
| 50 | 8 | 11 | 2 | $args and ref $args ne 'ARRAY' |
| 52 | 7 | 10 | 2 | $cleanup and ref $cleanup ne 'CODE' |
| line | l | !l | condition |
|---|---|---|---|
| 27 | 9 | 10 | $$self{'registry'}{$hook} ||= [] |