Branch Coverage

blib/lib/Metabrik/Server/Kibana.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
78 0 0 unless (defined $binary)
84 0 0 unless $self->brik_help_run_file_not_found("get_binary", $binary)
103 0 0 if ($es_nodes eq "ARRAY")
116 0 0 unless my $ft = "Metabrik::File::Text"->new_from_brik_init($self)
120 0 0 unless $ft->write($conf, $conf_file)
132 0 0 if ($version eq '4.6.2') { }
0 0 elsif ($version eq '5.0.0') { }
139 0 0 unless my $cw = "Metabrik::Client::Www"->new_from_brik_init($self)
140 0 0 unless $cw->mirror($url, "$datadir/kibana.tar.gz")
144 0 0 if (defined $self->shell) { }
145 0 0 unless $self->shell->run_cd($datadir)
148 0 0 unless chdir $datadir
152 0 0 unless my $r = $self->execute($cmd)
154 0 0 if (defined $self->shell) { }
155 0 0 unless $self->shell->run_cd($cwd)
158 0 0 unless chdir $cwd
168 0 0 if ($self->status)
174 0 0 unless $self->brik_help_run_undef_arg("start", $conf_file)
175 0 0 unless $self->brik_help_run_file_not_found("start", $conf_file)
180 0 0 unless my $binary = $self->get_binary
204 0 0 unless ($self->status)
208 0 0 unless my $binary = $self->get_binary
214 0 0 unless my $pid = $self->get_pid_from_string($string)
226 0 0 if ($self->is_running_from_string($string))