Branch Coverage

lib/Rex/Interface/Exec/Sudo.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
37 0 0 if (exists $option->{'cwd'})
41 0 0 if (exists $option->{'path'})
46 0 0 if (my $ssh = Rex::is_ssh()) { }
47 0 0 if (ref $ssh eq 'Net::OpenSSH') { }
67 0 0 defined task() ? :
74 0 0 if ($sudo_password) { }
111 0 0 if (exists $sudo_options->{'user'})
115 0 0 if ("Rex::Config"->get_sudo_without_locales)
124 0 0 if ('Rex::Config'->get_sudo_without_sh) { }
132 0 0 if (exists $option->{'env'})
136 0 0 if ($enc_pw)
152 0 0 if ("Rex::Config"->get_source_global_profile)
156 0 0 if ("Rex::Config"->get_source_profile)
160 0 0 if (exists $option->{'env'})
181 0 0 if ($enc_pw)
206 0 0 if (my $ssh = Rex::is_ssh()) { }
207 0 0 if (ref $ssh eq 'Net::OpenSSH') { }