Branch Coverage

blib/lib/Mojo/Reactor/IOAsync.pm
Criterion Covered Total %
branch 30 34 88.2


line true false branch
22 4 3 if ($IOAsync++) { }
34 2 4 if $self->{'loop_singleton'}
39 1 8 unless my $timer = $self->{'timers'}{$id}
42 2 6 if defined $after
58 6 1 unless keys %{$$self{'timers'};} or keys %{$$self{'io'};} or $self->{'loop'}->notifiers
61 75 9315 unless $self->{'running'}
70 0 11 unless defined $remove
71 5 6 if (ref $remove) { }
74 3 2 if ($io)
76 3 0 if $io->{'watcher'}
81 5 1 if ($timer)
83 5 0 if $timer->{'watcher'}
92 7 0 $_->{'watcher'} ? :
109 1 24 unless my $io = $self->{'io'}{$fd}
110 15 9 if (my $w = $io->{'watcher'}) { }
144 578 29 if ($recurring) { }
169 1 10375 unless eval { do { $self->$cb(@_); 1 } }