| line |
true |
false |
branch |
|
29
|
0 |
2 |
if ($^O eq 'MSWin32' or $^O eq 'cygwin') |
|
40
|
0 |
2 |
if $self->{'read'} |
|
43
|
2 |
0 |
unless ($self->{'opened'}) |
|
49
|
0 |
2 |
unless open $fh, '+>' . $LockDirectory . '/Apache-Session-' . $session->{'data'}{'_session_id'} . '.lock' |
|
63
|
0 |
3 |
if $self->{'write'} |
|
65
|
2 |
1 |
unless ($self->{'opened'}) |
|
71
|
0 |
2 |
unless open $fh, '+>' . $LockDirectory . '/Apache-Session-' . $session->{'data'}{'_session_id'} . '.lock' |
|
82
|
0 |
0 |
if ($^O eq 'MSWin32' or $^O eq 'cygwin') |
|
88
|
0 |
0 |
unless $self->{'read'} |
|
90
|
0 |
0 |
unless ($self->{'write'}) |
|
92
|
0 |
0 |
unless close $self->{'fh'} |
|
103
|
0 |
0 |
unless $self->{'write'} |
|
105
|
0 |
0 |
if ($self->{'read'}) { } |
|
110
|
0 |
0 |
unless close $self->{'fh'} |
|
121
|
4 |
4 |
if ($self->{'opened'}) |
|
123
|
0 |
4 |
unless close $self->{'fh'} |
|
144
|
0 |
1 |
unless opendir DIR, $dir |
|
147
|
1 |
2 |
if ($file =~ /^Apache-Session.*\.lock$/) |
|
148
|
1 |
0 |
if ($now - (stat $dir . '/' . $file)[8] >= $time) |
|
149
|
0 |
1 |
if ($^O eq 'MSWin32') { } |
|
151
|
0 |
0 |
unless unlink $dir . '/' . $file |
|
153
|
0 |
1 |
unless open FH, "+>$dir/" . $file |
|
154
|
0 |
1 |
unless flock FH, 2 |
|
155
|
0 |
1 |
unless unlink $dir . '/' . $file |