Condition Coverage

lib/Rex/Interface/Connection/OpenSSH.pm
Criterion Covered Total %
condition 1 36 2.7


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 0 $auth_type and $auth_type eq "pass"
0 0 0 $auth_type and $auth_type eq "krb5"
158 0 0 0 $self->{'ssh'} and not $self->{'ssh'}->error
172 0 0 0 $self->{'ssh'} and $self->{'ssh'}->error
233 0 0 0 $self->{'is_sudo'} and $self->{'is_sudo'} == 1
237 0 0 0 Rex::is_ssh() and not Rex::is_sudo()

or 2 conditions

line l !l condition
61 0 0 'Rex::Config'->get_port('server', $server) || 22
62 0 0 'Rex::Config'->get_timeout('server', $server) || 3
75 0 0 $ssh_opts{'LogLevel'} ||= "QUIET"

or 3 conditions

line l !l&&r !l&&!r condition
24 0 1 0 ref $that || $that
61 0 0 0 $port ||= 'Rex::Config'->get_port('server', $server) || 22
62 0 0 0 $timeout ||= 'Rex::Config'->get_timeout('server', $server) || 3
64 0 0 0 'Rex::Config'->get_ssh_config_hostname('server', $server) || $server