Condition Coverage

blib/lib/Queue/Q/DistFIFO.pm
Criterion Covered Total %
condition 11 17 64.7


and 3 conditions

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')

or 2 conditions

line l !l condition
86 4 2 $n ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
113 4 2 12 scalar @elem == $n or &refaddr($shard) == $first_shard_addr