Branch Coverage

blib/lib/AnyEvent/Loop.pm
Criterion Covered Total %
branch 28 40 70.0


line true false branch
138 13 0 if ($time_hires and eval '&Time::HiRes::clock_gettime (Time::HiRes::CLOCK_MONOTONIC ())') { }
0 0 elsif (100 <= $clk_tck and $clk_tck <= 1000000 and eval { do { (POSIX::times())[0] != -1 } }) { }
0 0 elsif (eval 'use Time::HiRes (); 1') { }
156 0 0 if $last > $next
173 13 0 if $round < 0.001
203 15 77 if ($MNOW >= $need_sort)
209 24 68 if (@timer and $timer[0][0] <= $MNOW) { }
212 17 8 if $timer->[1]
219 2 66 @timer && $timer[0][0] < $need_sort ? :
222 51 17 $wait < 3600 ? :
223 0 68 if @idle
233 48 20 if ($fds > 0) { }
4 27 elsif (not @timer or $timer[0][0] > $MNOW and not $fds) { }
248 0 50 unless $fds->[1][pos($_) - 1]
268 6 20 unless defined($fd = fileno $fd)
300 16 5 if (@{$fds->[1][$fd];} == 1) { }
307 3 2 if ($last != $self)
319 1 29 if ($interval) { }
324 0 0 if $_[0][0] < $need_sort
333 24 6 if $self->[0] < $need_sort