blib/lib/Linux/Perl/epoll.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 17 | 52.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
66 | 8 | 0 | 8 | $class->can('NR_epoll_create') && $class |
213 | 0 | 0 | 10 | $opts_hr->{'events'} and @{$opts_hr->{'events'};} |
333 | 14 | 0 | 2 | defined $sigmask && length $sigmask |
line | l | !l | condition |
---|---|---|---|
84 | 0 | 12 | $opts{'size'} ||= 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
67 | 8 | 8 | 0 | $arch_module ||= do { require Linux::Perl::ArchLoader; Linux::Perl::ArchLoader::get_arch_module($class) } |
219 | 2 | 0 | 0 | {ERR => 8, HUP => 16, IN => 1, OUT => 4, PRI => 2, RDHUP => 8192}->{$evtname} || {ET => 2147483648, EXCLUSIVE => 268435456, ONESHOT => 1073741824, WAKEUP => 536870912}->{$evtname} || do { die "Unknown event '${evtname}'" } |