Branch Coverage

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


line true false branch
30 0 0 if (my $sftp = Rex::get_sftp()) { }
31 0 0 if ($self->{'mode'} eq '>') { }
0 0 elsif ($self->{'mode'} eq '>>') { }
61 0 0 if (ref $self->{'fh'} eq 'Net::SSH2::File') { }
72 0 0 if (ref $self->{'fh'} eq 'Net::SSH2::File') { }
93 0 0 unless $self->{'fh'}
95 0 0 if (ref $self->{'fh'} eq 'Net::SSH2::File') { }
103 0 0 if ($self->{'mode'} eq ">" or $self->{'mode'} eq ">>")