Branch Coverage

blib/lib/Search/Elasticsearch/TestServer.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
51 0 0 unless my $home = $self->es_home
53 0 0 unless $self->es_version
67 0 0 if (ref $old_SIGINT eq "CODE")
89 0 0 unless "IO::Socket::INET"->new("127.0.0.1:$port")
106 0 0 if $http->head("http://127.0.0.1:$node/")->{'status'} == 200
107 0 0 unless $i--
126 0 0 unless defined(my $pid = fork)
128 0 0 if ($pid == 0) { }
129 0 0 if setsid() == -1
131 0 0 unless exec @config
135 0 0 if -s $pid_file->filename
140 0 0 unless $pid
147 0 0 if $int_caught
154 0 0 if ($self->_has_starter_pid and $$ == $self->_starter_pid)
165 0 0 unless $self->has_pids
169 0 0 unless @$pids
182 0 0 unless eval "require $class"