line |
true |
false |
branch |
128
|
367 |
1416 |
if ($self->{'is_size_aware'}) { }
|
138
|
367 |
1416 |
if ($self->{'is_size_aware'})
|
159
|
0 |
0 |
if ($ENV{'AUTHOR_TESTING'} and $self->{'is_size_aware'} and my $timeout = $self->discard_timeout)
|
246
|
0 |
0 |
if ($ENV{'AUTHOR_TESTING'} and $self->{'is_size_aware'} and my $timeout = $self->discard_timeout)
|
272
|
0 |
97 |
if (not defined $shm_size or $shm_size == 0)
|
278
|
4 |
93 |
unless ($shm)
|
280
|
0 |
4 |
unless ($shm)
|
299
|
0 |
99 |
unless open my $fd, ">", $self->lock_file
|
313
|
0 |
2821 |
unless $self->lock_file
|
315
|
2821 |
0 |
if (my $lock = $self->lock_fd) { }
|
317
|
1568 |
1253 |
$params{'type'} eq 'read' ? :
|
335
|
2821 |
0 |
if (my $lock = $self->lock_fd) { }
|
348
|
0 |
4343 |
unless ($self->shm)
|
352
|
1155 |
3188 |
if (defined $value)
|
357
|
0 |
3188 |
unless (defined $size)
|
369
|
1156 |
3091 |
if (defined $h)
|
373
|
1 |
1155 |
if ($cur_size > $self->shm_size - $CHI::Driver::SharedMem::Config{'intsize'})
|
377
|
0 |
1155 |
unless ($f =~ /\}$/)
|
389
|
3087 |
4 |
if ($cur_size)
|
394
|
0 |
3087 |
if ($@)
|
422
|
2 |
97 |
unless ($self->shm_key)
|
443
|
97 |
2 |
if ($self->shm_key and $self->shm)
|
449
|
2 |
95 |
if ($cur_size == 0) { }
|
450
|
2 |
0 |
if (defined $stat and $stat->nattch == 1)
|
479
|
2 |
95 |
if ($can_remove and my $lock_file = $self->lock_file)
|