line |
!l |
l&&!r |
l&&r |
condition |
79
|
0 |
33 |
1134 |
@_ and ref $_[0] |
101
|
0 |
1167 |
0 |
$self->{'lock_type'} and not $self->{'lock_type'} =~ /^\d+/ |
|
1167 |
0 |
0 |
$self->{'lock_type'} and not $self->{'lock_type'} =~ /^\d+/ and exists $$TYPES{$self->{'lock_type'}} |
120
|
0 |
0 |
1167 |
$self->{'lock_type'} and $self->{'lock_type'} =~ /^\d+$/ |
133
|
1097 |
0 |
70 |
$self->{'blocking_timeout'} && !($self->{'lock_type'} & 4) |
136
|
936 |
221 |
10 |
-e $self->{'lock_file'} and $self->{'stale_lock_timeout'} > 0 |
|
1157 |
10 |
0 |
-e $self->{'lock_file'} and $self->{'stale_lock_timeout'} > 0 and time - (stat _)[9] > $self->{'stale_lock_timeout'} |
164
|
39 |
13 |
166 |
-e $self->{'lock_file'} and open $fh, '+<', $self->{'lock_file'} |
234
|
6 |
159 |
1 |
$try_lock_exclusive eq $has_lock_exclusive and @mine |
250
|
192 |
14 |
0 |
$quit_time and time > $quit_time |
282
|
70 |
0 |
2240 |
$SIG{$signal} and $SIG{$signal} eq $graceful_sig |
329
|
216 |
0 |
1128 |
link($rand_file, $lock_file) && -e $rand_file && (stat _)[3] == 2 |
366
|
7 |
0 |
22 |
not $success and -e $lock_file |
|
7 |
20 |
2 |
not $success and -e $lock_file and ((stat _)[2] & $SHARE_BIT) != $SHARE_BIT |
435
|
7 |
1148 |
0 |
link($file, $rand_file) && unlink($rand_file) |
506
|
0 |
0 |
6 |
defined $pid and not $self->{'unlocked'} |