blib/lib/IO/Poll.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 24 | 70.8 |
line | true | false | branch |
---|---|---|---|
48 | 0 | 9 | unless defined $fd |
49 | 6 | 3 | if (@_) |
51 | 3 | 3 | if ($mask) { } |
57 | 2 | 1 | unless (%{$self->[0]{$fd};}) |
66 | 4 | 5 | unless exists $self->[0]{$fd} and exists $self->[0]{$fd}{$io} |
85 | 4 | 0 | defined $timeout ? : |
87 | 3 | 1 | unless $ret > 0 |
92 | 1 | 0 | if $got |
103 | 2 | 0 | exists $self->[0]{$fd}{$io} ? : |
2 | 1 | if exists $self->[1]{$fd} | |
115 | 3 | 0 | unless @_ |
124 | 0 | 0 | if $ev & $mask & $events |