line |
true |
false |
branch |
29
|
213 |
15132 |
unless $self->{'running'} |
35
|
6 |
15339 |
unless keys %{$$self{'timers'};} or keys %{$$self{'io'};} |
39
|
15338 |
1 |
defined $min ? : |
40
|
2329 |
13010 |
if $timeout < 0 |
43
|
13641 |
1698 |
if (my $watched = keys %{$$self{'io'};}) { } |
|
7 |
1691 |
elsif ($timeout) { } |
46
|
13641 |
0 |
if $maxevents < 10 |
51
|
13641 |
0 |
if defined $count |
60
|
0 |
17669 |
unless my $t = $self->{'timers'}{$id} |
61
|
15315 |
2354 |
unless $t->{'time'} <= $now |
64
|
2325 |
29 |
if ($t->{'recurring'}) { } |
69
|
2354 |
0 |
if $t->{'cb'} |
78
|
5 |
35 |
if (ref $remove) { } |
80
|
3 |
0 |
if (exists $self->{'io'}{$fd} and exists $self->{'io'}{$fd}{'epoll_cb'}) |
103
|
1 |
33 |
unless my $io = $self->{'io'}{$fd} |
106
|
9 |
24 |
unless (defined $epoll) |
112
|
19 |
5 |
if $read |
113
|
17 |
7 |
if $write |
115
|
15 |
9 |
exists $io->{'epoll_cb'} ? : |
120
|
0 |
280 |
if ($events->{'in'} or $events->{'prio'} or $events->{'hup'} or $events->{'err'}) |
121
|
0 |
13362 |
unless exists $self->{'io'}{$fd} |
124
|
1681 |
11961 |
if ($events->{'out'} or $events->{'hup'} or $events->{'err'}) |
125
|
1 |
1680 |
unless exists $self->{'io'}{$fd} |
172
|
1 |
17395 |
unless eval {
do {
$self->$cb(@_);
1
}
} |