Branch Coverage

blib/lib/IO/File.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
149 0 10 unless @_ >= 0 and @_ <= 3
152 7 3 if (@_)
153 0 7 unless $fh->open(@_)
164 0 11 unless @_ >= 2 and @_ <= 4
166 4 7 if (@_ > 2)
168 0 4 if ($mode =~ /^\d+$/) { }
2 2 elsif ($mode =~ /:/) { }
169 0 0 unless defined $perms
172 2 0 if @_ == 3