Branch Coverage

blib/lib/Async/Event/Interval.pm
Criterion Covered Total %
branch 1 62 1.6


line true false branch
59 0 0 $self->pid && $self->pid == -99 ? :
74 0 0 if defined $id
84 0 0 if (defined $interval)
85 0 0 unless ($interval =~ /^\d+$/ or $interval =~ /^(\d+)?\.\d+$/)
109 0 0 unless (exists $events{$self->id}{'shared_scalars'}{$shm_key})
115 0 0 unless ($unique_shm_key_found)
127 0 0 if ($self->_started)
137 0 0 if ($self->_started)
138 0 0 unless ($self->pid)
142 0 0 if ($self->pid > 0)
143 0 0 if (kill 0, $self->pid) { }
159 0 0 if ($self->pid)
168 0 0 if (kill 0, $self->pid)
176 0 0 if $self->error or not $self->status
183 0 0 if (defined $args)
192 0 0 if (defined $cb)
193 0 0 if ref $cb ne "CODE"
201 0 0 if defined $increment
206 0 0 if defined $msg
214 0 0 if ($pid)
226 0 0 if ($self->interval) { }
235 0 0 unless ($callback_success)
253 0 0 unless ($callback_success)
271 0 0 unless (exists $self->{'pm'})
279 0 0 if (defined $pid)
303 0 0 if defined $increment
317 0 0 if defined $started
321 0 0 if (defined $_[0])
322 0 0 if $_[0]->pid
329 0 0 if (caller())[0] eq "Parallel::ForkManager::Child"
334 1 0 if (not keys %events)