| blib/lib/IO/Async/Timer/Countdown.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 22 | 72.7 |
| line | true | false | branch |
|---|---|---|---|
| 97 | 1 | 16 | if exists $params{$_} |
| 100 | 14 | 3 | if (exists $params{'on_expire'}) |
| 102 | 0 | 14 | unless ref $on_expire |
| 108 | 16 | 1 | if (exists $params{'delay'}) |
| 109 | 1 | 15 | if $self->is_running |
| 112 | 0 | 15 | unless $delay >= 0 |
| 117 | 0 | 16 | unless ($self->can_event('on_expire')) |
| 147 | 0 | 9 | unless my $self = shift() |
| 152 | 1 | 8 | if $self->{'remove_on_expire'} |
| 179 | 0 | 1 | unless my $loop = $self->loop |
| 181 | 0 | 1 | unless $self->is_running |