Condition Coverage

blib/lib/Thread/Queue.pm
Criterion Covered Total %
condition 19 39 48.7


and 3 conditions

line !l l&&!r l&&r condition
37 2 0 0 $self->{'LIMIT'} and @$queue >= $self->{'LIMIT'}
57 6 0 0 $self->{'ENDED'} and not @{$self->{'queue'};}
82 7 0 0 @$queue < $count and not $self->{'ENDED'}
144 0 0 0 @$queue < $count and not $self->{'ENDED'}
251 4 3 9 defined $index && &looks_like_number($index)
272 3 3 9 defined $count && &looks_like_number($count)
0 0 0 $self->{'LIMIT'} and $count > $self->{'LIMIT'}
283 15 0 0 $self->{'LIMIT'} and $count > $self->{'LIMIT'}
299 0 0 0 defined $timeout and &looks_like_number($timeout)

or 3 conditions

line l !l&&r !l&&!r condition
251 7 3 6 not defined $index && &looks_like_number($index) or int $index != $index
272 6 3 6 not defined $count && &looks_like_number($count) or int $count != $count
9 6 0 not defined $count && &looks_like_number($count) or int $count != $count or $count < 1
9 0 0 not defined $count && &looks_like_number($count) or int $count != $count or $count < 1 or $self->{'LIMIT'} and $count > $self->{'LIMIT'}