Branch Coverage

blib/lib/Queue/Q/DistFIFO.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
20 0 2 unless (defined $self->{'shards'} and ref $self->{'shards'} eq 'ARRAY' and @{$self->{'shards'};})
36 74 304 if ($ns > $#{$so;})
45 0 4 unless @_ == 1
52 0 14 unless @_
60 0 6 unless @_
73 64 56 if (defined $item)
74 32 32 if &blessed($item) and $item->isa('Queue::Q::ClaimFIFO::Item')
80 2 54 if &refaddr($shard) == $first_shard_addr
106 11 11 if &blessed($_) and $_->isa('Queue::Q::ClaimFIFO::Item')
113 6 12 if scalar @elem == $n or &refaddr($shard) == $first_shard_addr
123 2 0 unless defined $item
156 0 50 unless ($meth)
168 0 43 unless $shard