| line |
true |
false |
branch |
|
237
|
0 |
9 |
unless $mode =~ /(slave)|(master)/ |
|
246
|
0 |
9 |
if (not -e $filename and $mode eq 'slave') |
|
251
|
1 |
8 |
unless -e $filename |
|
255
|
5 |
4 |
if ($mode eq 'slave') { } |
|
258
|
1 |
4 |
if flock($fd, 5) |
|
263
|
0 |
4 |
unless $nslots == $self->n_slots |
|
264
|
0 |
4 |
unless $slotsize == $declared_size |
|
269
|
1 |
3 |
unless flock($fd, 6) |
|
284
|
4 |
5 |
if ($self->_mode eq 'master') |
|
285
|
3 |
1 |
if $self->_fd |
|
308
|
0 |
9 |
if $idx >= $self->n_slots or $idx < 0 |
|
329
|
4 |
1 |
@rest && ref $rest[0] eq 'ARRAY' ? : |
|
332
|
0 |
5 |
if $idx >= $self->n_slots or $idx < 0 |
|
333
|
0 |
5 |
if $idx != $self->_last_idx |
|
338
|
4 |
1 |
if ($values) |
|
339
|
0 |
4 |
if @$values != $self->slot_shared_size |
|
350
|
2 |
2 |
if ($actual_generation == $self->_last_generation) |
|
364
|
4 |
1 |
if (%private_values) |
|
367
|
0 |
5 |
if $private_idx >= $self->slot_private_size |