Branch Coverage

blib/lib/Mojo/Reactor/IOAsync.pm
Criterion Covered Total %
branch 28 32 87.5


line true false branch
22 4 3 if ($IOAsync++) { }
34 2 4 if $self->{'loop_singleton'}
39 1 6 unless my $timer = $self->{'timers'}{$id}
55 108 9025 unless $self->{'running'}
58 6 1 unless keys %{$$self{'timers'};} or keys %{$$self{'io'};} or $self->{'loop'}->notifiers
67 0 10 unless defined $remove
68 5 5 if (ref $remove) { }
71 3 2 if ($io)
73 3 0 if $io->{'watcher'}
78 4 1 if ($timer)
80 4 0 if $timer->{'watcher'}
89 6 0 $_->{'watcher'} ? :
106 1 23 unless my $io = $self->{'io'}{$fd}
107 14 9 if (my $w = $io->{'watcher'}) { }
141 900 27 if ($recurring) { }
166 1 10215 unless eval { do { $self->$cb(@_); 1 } }