blib/lib/Test/Mock/Time.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 33 | 57.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
215 | 1 | 2 | 1 | $which != CLOCK_REALTIME() and $which != CLOCK_MONOTONIC() |
256 | 15 | 0 | 0 | $tick++ and $flags |
260 | 0 | 8 | 0 | $k and $flags || &any(sub { |
280 | 5 | 0 | 18 | $flags and $flags == &EV::RUN_ONCE() |
303 | 1 | 0 | 1 | $repeat > 0 and $at < $now |
367 | 3 | 0 | 0 | defined $repeat and $repeat < 0 |
410 | 0 | 0 | 0 | $repeat > 0 and $at < $now |
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 { |
268 | 13 | 2 | 0 | $flags or &any(sub { |