blib/lib/ZMQ/Raw/Loop/Handle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
28 | 4 | 44 | @_ > 1 ? : |
86 | 1 | 8 | unless ($args{'handle'}) |
91 | 1 | 1 | unless ($args{'on_readable'} or $args{'on_writable'}) |
96 | 1 | 6 | if ($args{'on_readable'} and ref $args{'on_readable'} ne 'CODE') |
101 | 1 | 5 | if ($args{'on_writable'} and ref $args{'on_writable'} ne 'CODE') |
106 | 1 | 4 | if ($args{'on_timeout'} and ref $args{'on_timeout'} ne 'CODE') |
111 | 1 | 3 | if ($args{'on_timeout'} and not exists $args{'timeout'}) |
135 | 4 | 0 | if (scalar @_ > 1) |