blib/lib/Queue/Q/DistFIFO.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 17 | 64.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
20 | 0 | 2 | 0 | defined $self->{'shards'} and ref $self->{'shards'} eq 'ARRAY' |
0 | 2 | 0 | defined $self->{'shards'} and ref $self->{'shards'} eq 'ARRAY' and @{$self->{'shards'};} | |
74 | 32 | 0 | 32 | &blessed($item) and $item->isa('Queue::Q::ClaimFIFO::Item') |
106 | 11 | 0 | 11 | &blessed($_) and $_->isa('Queue::Q::ClaimFIFO::Item') |
line | l | !l | condition |
---|---|---|---|
86 | 4 | 2 | $n ||= 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
113 | 4 | 2 | 12 | scalar @elem == $n or &refaddr($shard) == $first_shard_addr |