Condition Coverage

blib/lib/Test/Mock/Time.pm
Criterion Covered Total %
condition 21 33 63.6


and 3 conditions

line !l l&&!r l&&r condition
215 1 2 1 $which != CLOCK_REALTIME() and $which != CLOCK_MONOTONIC()
256 15 0 8 $tick++ and $flags
260 8 8 0 $k and $flags || &any(sub { $_->{'watcher'}->keepalive if $_->{'watcher'}; } , @Timers)
280 5 0 18 $flags and $flags == &EV::RUN_ONCE()
304 1 0 1 $repeat > 0 and $at < $now
369 3 0 0 defined $repeat and $repeat < 0
412 0 0 0 $repeat > 0 and $at < $now

or 3 conditions

line l !l&&r !l&&!r condition
66 16 12 23 $next_at == 0 or $next_at > $Relative + $dur
185 1 1 1 $which == CLOCK_REALTIME() or $which == CLOCK_MONOTONIC()
260 8 0 0 $flags || &any(sub { $_->{'watcher'}->keepalive if $_->{'watcher'}; } , @Timers)
268 13 2 0 $flags or &any(sub { $_->{'watcher'}->keepalive if $_->{'watcher'}; } , @Timers)