Branch Coverage

blib/lib/Metabrik/Remote/Ssh.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
53 0 0 unless $self->brik_help_run_undef_arg("my_os", $hostname)
54 0 0 unless $self->brik_help_run_undef_arg("my_os", $port)
55 0 0 unless $self->brik_help_run_undef_arg("my_os", $username)
57 0 0 unless my $cs = $self->connect($hostname, $port, $username)
58 0 0 unless my $lines = $self->capture("uname -s")
61 0 0 if (@$lines > 0)
75 0 0 unless $self->brik_help_run_undef_arg("list_processes", $hostname)
76 0 0 unless $self->brik_help_run_undef_arg("list_processes", $port)
77 0 0 unless $self->brik_help_run_undef_arg("list_processes", $username)
79 0 0 unless my $lines = $self->capture("ps awuxw")
81 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
93 0 0 unless my $list = $self->list_processes($hostname, $port, $username)
99 0 0 if ($toks[0] eq $process)
114 0 0 unless $self->brik_help_run_undef_arg("execute", $cmd)
115 0 0 unless $self->brik_help_run_undef_arg("execute", $hostname)
116 0 0 unless $self->brik_help_run_undef_arg("execute", $port)
117 0 0 unless $self->brik_help_run_undef_arg("execute", $username)
119 0 0 unless $self->connect($hostname, $port, $username)
120 0 0 unless my $ssh = $self->SUPER::execute($cmd)
133 0 0 unless $self->brik_help_run_undef_arg("execute_in_background", $cmd)
134 0 0 unless $self->brik_help_run_undef_arg("execute_in_background", $hostname)
135 0 0 unless $self->brik_help_run_undef_arg("execute_in_background", $port)
136 0 0 unless $self->brik_help_run_undef_arg("execute_in_background", $username)
138 0 0 unless $self->connect($hostname, $port, $username)
139 0 0 unless my $r = $self->SUPER::execute_in_background($cmd)
152 0 0 unless $self->brik_help_run_undef_arg("capture", $cmd)
153 0 0 unless $self->brik_help_run_undef_arg("capture", $hostname)
154 0 0 unless $self->brik_help_run_undef_arg("capture", $port)
155 0 0 unless $self->brik_help_run_undef_arg("capture", $username)
157 0 0 unless $self->connect($hostname, $port, $username)
158 0 0 unless my $lines = $self->SUPER::capture($cmd)