Condition Coverage

blib/lib/Test/Mock/Time.pm
Criterion Covered Total %
condition 24 47 51.0


and 3 conditions

line !l l&&!r l&&r condition
213 1 2 1 $which != CLOCK_REALTIME() and $which != CLOCK_MONOTONIC()
254 15 0 0 $tick++ and $flags
258 0 8 0 $k and $flags || &any(sub { $_->{'watcher'}->keepalive if $_->{'watcher'}; } , @Timers)
278 5 0 18 $flags and $flags == &EV::RUN_ONCE()
301 1 0 1 $repeat > 0 and $at < $now
363 3 0 0 defined $repeat and $repeat < 0
406 0 0 0 $repeat > 0 and $at < $now

or 2 conditions

line l !l condition
344 0 0 $repeat //= 0

or 3 conditions

line l !l&&r !l&&!r condition
66 16 12 23 $next_at == 0 or $next_at > $Relative + $dur
140 0 12 0 $_[0] // int $Absolute + $Relative
144 9 4 0 $_[0] // int $Absolute + $Relative
183 1 1 1 $which == CLOCK_REALTIME() or $which == CLOCK_MONOTONIC()
258 8 0 0 $flags || &any(sub { $_->{'watcher'}->keepalive if $_->{'watcher'}; } , @Timers)
266 13 2 0 $flags or &any(sub { $_->{'watcher'}->keepalive if $_->{'watcher'}; } , @Timers)
369 0 0 2 $repeat // $active->{'repeat'}
379 0 0 1 $repeat // $inactive->{'repeat'}