Branch Coverage

lib/Rex/Interface/Fs/Sudo.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
43 0 0 if ($? != 0)
56 0 0 if (my $ssh = Rex::is_ssh()) { }
57 0 0 if (ref $ssh eq 'Net::OpenSSH') { }
76 0 0 if (my $ssh = Rex::is_ssh()) { }
79 0 0 if (ref $ssh eq 'Net::OpenSSH') { }
105 0 0 $ret == 0 ? :
119 0 0 $is_file == 0 && $is_dir != 0 ? :
127 0 0 if ($? == 0)
134 0 0 if ($? == 0)
172 0 0 unless ($out)
187 0 0 if ($? == 0)
196 0 0 if ($? == 0)
225 0 0 if ($? == 0)
257 0 0 if (my $o = Rex::is_ssh()) { }
258 0 0 if (ref $o eq 'Net::OpenSSH') { }