Condition Coverage

blib/lib/IO/Async/Loop/Epoll.pm
Criterion Covered Total %
condition 27 30 90.0


and 3 conditions

line !l l&&!r l&&r condition
190 44 11 0 not defined $ret and $! != 4
238 11 44 0 defined $ret and $ret == $self->{'maxevents'}

or 2 conditions

line l !l condition
192 18 37 $ret || 0
263 3 16 $self->{'masks'}{$fd} || 0
424 2 2 $self->{'signals'}{$signal} && $self->{'signals'}{$signal}->orig || 'DEFAULT'

or 3 conditions

line l !l&&r !l&&!r condition
272 12 2 5 $events->{'in'} or $events->{'hup'}
2 2 3 $events->{'in'} or $events->{'hup'} or $events->{'err'}
276 8 3 8 $events->{'out'} or $events->{'hup'}
3 2 6 $events->{'out'} or $events->{'hup'} or $events->{'err'}
280 4 2 13 $events->{'hup'} or $events->{'err'}
283 3 16 0 $self->{'callbacks'}{$fd} ||= sub { my($events) = @_; '???'; if ($events->{'in'} or $events->{'hup'} or $events->{'err'}) { $watch->[1]->() if $watch->[1]; } ; if ($events->{'out'} or $events->{'hup'} or $events->{'err'}) { $watch->[2]->() if $watch->[2]; } ; if ($events->{'hup'} or $events->{'err'}) { $watch->[3]->() if $watch->[3]; } ; }