Branch Coverage

blib/lib/IO/File/Lockable.pm
Criterion Covered Total %
branch 7 16 43.7


line true false branch
8 0 2 unless ref $_[0] or $_[0]
10 2 0 if @_ > 1
15 2 0 if $mode
16 0 2 unless $fh->SUPER::open($file)
17 0 0 $file =~ /^(\+?>|\+<)/ ? :
2 0 defined $_[0] ? :
37 0 8 $timeout ? :
38 0 8 if ($@)