Branch Coverage

blib/lib/IO/File.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
157 0 10 unless @_ >= 0 and @_ <= 3
160 7 3 if (@_)
161 0 7 unless $fh->open(@_)
172 0 11 unless @_ >= 2 and @_ <= 4
174 4 7 if (@_ > 2)
176 0 4 if ($mode =~ /^\d+$/) { }
2 2 elsif ($mode =~ /:/) { }
177 0 0 unless defined $perms
180 2 0 if @_ == 3
194 0 1 unless @_ == 1 or @_ == 2
198 1 0 unless $layer