Branch Coverage

lib/Rex/FS/File.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
95 5 184 if ($self->{'filename'})
105 0 189 if (ref !($self->{'fh'} =~ /Rex::Interface::File/u))
114 0 189 if (ref $self->{'fh'} =~ /^Rex::Interface::File/u) { }
115 0 0 if $self->{'fh'}{'fh'}
118 189 0 if $self->{'fh'}
135 3 244 if (scalar @buf > 1) { }
173 757 0 unless $len
194 6 137 if (wantarray)