blib/lib/Sim/Dispatcher.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 20 | 75.0 |
line | true | false | branch |
---|---|---|---|
13 | 0 | 3 | ref $_[0] ? : |
15 | 0 | 3 | unless $opts{'clock'} |
30 | 0 | 29 | if ($time < $self->now) |
42 | 7 | 8 | if ($$event[0] < $$queue[$i][0]) |
54 | 0 | 26 | if @$queue == 0 |
58 | 26 | 0 | if ($time >= $now) { } |
70 | 3 | 3 | if defined $opts{'duration'} |
75 | 2 | 30 | if ++$i > $fires |
77 | 4 | 26 | if not defined $t or defined $end_time and $t > $end_time |
85 | 27 | 5 | @$queue ? : |