Branch Coverage

blib/lib/Metabrik/Server/Syslogng.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
97 0 0 unless my $sf = 'Metabrik::System::File'->new_from_brik_init($self)
98 0 0 if ($sf->is_relative($output))
103 0 0 if (-f '/etc/syslog-ng/scl.conf')
150 0 0 if (defined $remote_host and $use_ssl) { }
0 0 elsif (defined $remote_host) { }
181 0 0 unless my $ft = 'Metabrik::File::Text'->new_from_brik_init($self)
184 0 0 unless $ft->write($conf, $conf_file)
194 0 0 unless $self->brik_help_run_undef_arg('start', $conf_file)
197 0 0 unless $self->brik_help_run_file_not_found('start', $conf_file)
203 0 0 if (-f $pidfile)
209 0 0 unless my $r = $self->system($cmd)
210 0 0 if ($r == 256) { }
0 0 elsif ($r > 0) { }
224 0 0 unless (defined $pidfile)
228 0 0 unless (-f $pidfile)
232 0 0 unless my $sp = 'Metabrik::System::Process'->new_from_brik_init($self)