line |
true |
false |
branch |
45
|
0 |
592 |
if (ref $self->{'name'} eq "Rex::Group::Entry::Server") |
50
|
1 |
591 |
if ($self->{'user'}) |
55
|
1 |
591 |
if ($self->{'password'}) |
60
|
0 |
592 |
if ($self->{'port'}) |
65
|
0 |
592 |
if ($self->{'public_key'}) |
70
|
0 |
592 |
if ($self->{'private_key'}) |
75
|
1 |
591 |
if ($self->{'sudo'}) |
80
|
0 |
592 |
if ($self->{'sudo_password'}) |
85
|
0 |
592 |
if ($self->{'auth_type'}) |
90
|
509 |
83 |
unless (ref $self->{'__group__'}) |
100
|
83 |
0 |
if (ref $_ and $_->isa('Rex::Group::Entry::Server')) { } |
116
|
38 |
119 |
if ($comp eq $self->to_s) |
123
|
78 |
168 |
if ($comp ne $self->to_s) |
151
|
18 |
70 |
if (exists $self->{'auth'}{'user'}) |
155
|
0 |
70 |
if (not "Rex::Config"->has_user and "Rex::Config"->get_ssh_config_username("server", $self->to_s)) |
168
|
18 |
70 |
if (exists $self->{'auth'}{'password'}) |
178
|
0 |
88 |
if (exists $self->{'auth'}{'port'}) |
188
|
0 |
88 |
if (exists $self->{'auth'}{'public_key'} and -f $self->{'auth'}{'public_key'}) |
195
|
0 |
88 |
if (not "Rex::Config"->has_public_key and "Rex::Config"->get_ssh_config_public_key("server", $self->to_s)) |
213
|
0 |
88 |
if (exists $self->{'auth'}{'private_key'} and -f $self->{'auth'}{'private_key'}) |
220
|
0 |
88 |
if (not "Rex::Config"->has_private_key and "Rex::Config"->get_ssh_config_private_key("server", $self->to_s)) |
238
|
0 |
0 |
if (exists $self->{'auth'}{'auth_type'} and $self->{'auth'}{'auth_type'}) |
242
|
0 |
88 |
if (exists $self->{'auth'}{'public_key'} and -f $self->{'auth'}{'public_key'} and exists $self->{'auth'}{'private_key'} and -f $self->{'auth'}{'private_key'}) { } |
|
18 |
70 |
elsif (exists $self->{'auth'}{'user'} and $self->{'auth'}{'user'} and exists $self->{'auth'}{'password'} and $self->{'auth'}{'password'} ne '') { } |
|
0 |
70 |
elsif ('Rex::Config'->get_krb5_auth) { } |
|
7 |
63 |
elsif ('Rex::Config'->get_password_auth) { } |
|
1 |
62 |
elsif ('Rex::Config'->get_key_auth) { } |
271
|
3 |
85 |
if (exists $self->{'auth'}{'sudo'}) |
280
|
0 |
88 |
if (exists $self->{'auth'}{'sudo_password'}) |
296
|
704 |
0 |
if (ref($self)->can($call)) { } |
304
|
101 |
155 |
if (exists $other_auth->{$key} and defined $other_auth->{$key} and "Rex::Config"->get_use_server_auth == 0) |
332
|
2 |
0 |
if (exists $self->{$option}) |
347
|
371 |
0 |
if $Rex::Group::Entry::Server::AUTOLOAD =~ /DESTROY/u |
351
|
0 |
0 |
if (scalar keys %{$$self{"__hardware_info__"};} == 0) |
355
|
0 |
0 |
if (exists $self->{'__hardware_info__'}{$wanted_data}) |
359
|
0 |
0 |
if (exists $self->{$wanted_data}) |