Branch Coverage

blib/lib/RSH/FileUtil.pm
Criterion Covered Total %
branch 7 16 43.7


line true false branch
72 9 10 if ($type eq 'READ') { }
10 0 elsif ($type eq 'WRITE') { }
0 0 elsif ($type eq 'RDWR') { }
0 0 elsif ($type eq 'APPEND') { }
77 7 12 if (defined $args{'exclusive'} and $args{'exclusive'} eq '1')
81 10 0 if ($type eq 'WRITE' and !defined($args{'no_truncate'}) || $args{'no_truncate'} eq '0')
86 0 19 if (defined $args{'no_follow'} and $args{'no_follow'} eq '1') { }
92 0 0 if ($@)