Branch Coverage

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


line true false branch
58 0 0 $self->pid && $self->pid == -99 ? :
73 0 0 if defined $id
83 0 0 if (defined $interval)
84 0 0 unless ($interval =~ /^\d+$/ or $interval =~ /^(\d+)?\.\d+$/)
108 0 0 unless (exists $events{$self->id}{'shared_scalars'}{$shm_key})
114 0 0 unless ($unique_shm_key_found)
126 0 0 if ($self->_started)
136 0 0 if ($self->_started)
137 0 0 unless ($self->pid)
141 0 0 if ($self->pid > 0)
142 0 0 if (kill 0, $self->pid) { }
158 0 0 if ($self->pid)
167 0 0 if (kill 0, $self->pid)
175 0 0 if $self->error or not $self->status
182 0 0 if (defined $args)
191 0 0 if (defined $cb)
192 0 0 if ref $cb ne "CODE"
200 0 0 if defined $increment
205 0 0 if defined $msg
213 0 0 if ($pid)
225 0 0 if ($self->interval) { }
234 0 0 unless ($callback_success)
253 0 0 unless ($callback_success)
271 0 0 unless (exists $self->{'pm'})
279 0 0 if defined $pid
280 0 0 if $self->{'pid'}
301 0 0 if defined $increment
315 0 0 if defined $started
319 0 0 if $_[0]->pid
325 0 0 if (caller())[0] eq "Parallel::ForkManager::Child"
330 0 22 if (keys %events)