Branch Coverage

blib/lib/App/EventStreamr/Process.pm
Criterion Covered Total %
branch 5 24 20.8


line true false branch
29 0 0 if @_ > 0
33 0 0 defined $self->{'config'}{'control'}{$self->{'id'}}{'run'} ? :
39 0 0 if ($run and $self->{'config'}{'run'}) { }
46 0 0 if @_ > 0
47 0 0 if (defined $self->{'config'}{'control'}{$self->{'id'}}{'run'} and $self->{'config'}{'control'}{$self->{'id'}}{'run'} == 2) { }
55 0 1 if @_ > 0
56 0 1 if ($self->_restart) { }
1 0 elsif ($self->_run and not $self->pid) { }
0 0 elsif (not $self->_run and $self->pid) { }
60 0 0 if (not $self->running) { }
73 0 1 if $self->status->threshold($self->{'id'}, $self->{'type'})
94 0 1 if ($self->status->set_state($self->running, $self->{'id'}, $self->{'type'}))