Branch Coverage

blib/lib/Async/Event/Interval.pm
Criterion Covered Total %
branch 1 64 1.5


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 scalar @event_params ? :
218 0 0 if ($pid)
230 0 0 if ($self->interval) { }
239 0 0 unless ($callback_success)
257 0 0 unless ($callback_success)
275 0 0 unless (exists $self->{'pm'})
283 0 0 if (defined $pid)
307 0 0 if defined $increment
321 0 0 if defined $started
325 0 0 if (defined $_[0])
326 0 0 if $_[0]->pid
333 0 0 if (caller())[0] eq "Parallel::ForkManager::Child"
338 1 0 if (not keys %events)