Branch Coverage

blib/lib/Metabrik/Server/Kafka.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
58 0 0 unless $self->SUPER::install(@_)
63 0 0 unless my $dg = "Metabrik::Devel::Git"->new_from_brik_init($self)
67 0 0 unless my $repo = $dg->update_or_clone($url, $output_dir)
85 0 0 unless $self->brik_help_set_undef_arg("generate_conf", $conf_file)
117 0 0 unless my $ft = "Metabrik::File::Text"->new_from_brik_init($self)
121 0 0 unless $ft->write($conf, $conf_file)
123 0 0 unless my $sf = "Metabrik::System::File"->new_from_brik_init($self)
124 0 0 unless $sf->mkdir("$datadir/log")
134 0 0 unless $self->brik_help_set_undef_arg("generate_conf_zookeeper", $conf_file)
156 0 0 unless my $ft = "Metabrik::File::Text"->new_from_brik_init($self)
160 0 0 unless $ft->write($conf, $conf_file)
162 0 0 unless my $sf = "Metabrik::System::File"->new_from_brik_init($self)
163 0 0 unless $sf->mkdir("$datadir/zookeeper")
201 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
204 0 0 if ($sp->is_running_from_string($string))
222 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
225 0 0 if ($sp->is_running_from_string($string))
237 0 0 unless ($self->status)
247 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
250 0 0 unless my $pid = $sp->get_pid_from_string($string)
258 0 0 unless ($self->status)
268 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
271 0 0 unless my $pid = $sp->get_pid_from_string($string)