Branch Coverage

lib/Rex/Interface/File/Sudo.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
33 0 0 if (my $ssh = Rex::is_ssh()) { }
34 0 0 if (ref $ssh eq 'Net::OpenSSH') { }
51 0 0 if ($self->_fs->is_file($file))
55 0 0 if (not $link =~ m[^/]u) { }
87 0 0 if "Rex::Config"->get_write_utf8_files and utf8::is_utf8($buf)
101 0 0 unless $self->{'fh'}
108 0 0 if (exists $self->{'mode'} and $self->{'mode'} eq '>' || $self->{'mode'} eq '>>')
113 0 0 if ($self->{'file_stat'})