| line |
true |
false |
branch |
|
239
|
0 |
9 |
unless $mode =~ /(slave)|(master)/ |
|
248
|
0 |
9 |
if (not -e $filename and $mode eq 'slave') |
|
253
|
1 |
8 |
unless -e $filename |
|
257
|
5 |
4 |
if ($mode eq 'slave') { } |
|
260
|
1 |
4 |
if flock($fd, 5) |
|
265
|
0 |
4 |
unless $nslots == $self->n_slots |
|
266
|
0 |
4 |
unless $slotsize == $declared_size |
|
271
|
1 |
3 |
unless flock($fd, 6) |
|
286
|
4 |
5 |
if ($self->_mode eq 'master') |
|
287
|
3 |
1 |
if $self->_fd |
|
310
|
0 |
9 |
if $idx >= $self->n_slots or $idx < 0 |
|
331
|
4 |
1 |
@rest && ref $rest[0] eq 'ARRAY' ? : |
|
334
|
0 |
5 |
if $idx >= $self->n_slots or $idx < 0 |
|
335
|
0 |
5 |
if $idx != $self->_last_idx |
|
340
|
4 |
1 |
if ($values) |
|
341
|
0 |
4 |
if @$values != $self->slot_shared_size |
|
352
|
2 |
2 |
if ($actual_generation == $self->_last_generation) |
|
366
|
4 |
1 |
if (%private_values) |
|
369
|
0 |
5 |
if $private_idx >= $self->slot_private_size |