Branch Coverage

lib/Rex/Interface/Connection/OpenSSH.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
56 0 0 if defined $pass
80 0 0 exists $ssh_opts{'initialize_options'} ? :
85 0 0 if exists $ssh_opts{'initialize_options'}
96 0 0 if (@ssh_opts_line)
97 0 0 unless ($net_openssh_constructor_options{'external_master'})
104 0 0 if $proxy_command
107 0 0 if ($auth_type and $auth_type eq 'pass') { }
0 0 elsif ($auth_type and $auth_type eq 'krb5') { }
144 0 0 if ($_try_auth_type eq 'pass') { }
0 0 elsif ($_try_auth_type eq 'key') { }
149 0 0 if ($pass)
158 0 0 if ($self->{'ssh'} and not $self->{'ssh'}->error)
166 0 0 unless ($self->{'ssh'})
172 0 0 if ($self->{'ssh'} and $self->{'ssh'}->error)
233 0 0 if ($self->{'is_sudo'} and $self->{'is_sudo'} == 1)
237 0 0 if (Rex::is_ssh() and not Rex::is_sudo()) { }
0 0 elsif (Rex::is_sudo()) { }