| line |
true |
false |
branch |
|
18
|
0 |
0 |
unless $type =~ /^(?:flock|fcntl)$/ |
|
27
|
0 |
0 |
if (defined(my $timeout = delete $opts{'timeout'})) |
|
33
|
0 |
0 |
if (defined $file) { } |
|
35
|
0 |
0 |
unless $open_mode =~ /^\+?(?:<|>>?)/ |
|
36
|
0 |
0 |
unless open $fh, $mode, $file |
|
51
|
0 |
0 |
if ($type eq 'fcntl') { } |
|
54
|
0 |
0 |
$lock_mode eq '<' ? : |
|
57
|
0 |
0 |
$lock_mode eq '<' ? : |
|
61
|
0 |
0 |
if %opts |
|
75
|
0 |
0 |
if ($$self{'type'} eq 'flock') { } |
|
84
|
0 |
0 |
if ($ok) { } |
|
|
0 |
0 |
elsif ($! == &Errno::EAGAIN() and !defined($$self{'max_time'}) || $$self{'max_time'} <= $now) { } |