Condition Coverage

blib/lib/Cache/Memcached/Queue.pm
Criterion Covered Total %
condition 0 64 0.0


and 3 conditions

line !l l&&!r l&&r condition
103 0 0 0 defined $id && $id
115 0 0 0 $flag and not defined $real_first
176 0 0 0 $self->max_enq > 0 and $self->size >= $self->max_enq
313 0 0 0 defined $action && $action
0 0 0 defined $action and not ref($action) =~ /CODE/
0 0 0 defined $action_params and not ref($action_params) =~ /ARRAY/
352 0 0 0 defined $qid and $qid
377 0 0 0 defined $qid and $qid
380 0 0 0 $lock_pid and $lock_pid == $pid
0 0 0 $lock_pid and $lock_pid != $pid
404 0 0 0 defined $lock_idx and $lock_idx

or 2 conditions

line l !l condition
155 0 0 $parameters // ''
158 0 0 $parameters || ''
161 0 0 $parameters->{'value'} || ''
174 0 0 $self->size // 0
180 0 0 $self->last =~ /_(\d+)$/ // 1
217 0 0 $self->first =~ /_(\d+)$/ // 1
218 0 0 $self->memcached->get($self->first) // ''
241 0 0 $value // ''
255 0 0 $self->first =~ /_(\d+)$/ // 1
256 0 0 $self->last =~ /_(\d+)$/ // 1
365 0 0 $lock_pid || 0

or 3 conditions

line l !l&&r !l&&!r condition
172 0 0 0 not $self->_is_locked or $self->_unlock
210 0 0 0 not $self->_is_locked or $self->_unlock
313 0 0 0 not defined $action && $action or defined $action and not ref($action) =~ /CODE/