Condition Coverage

blib/lib/POE/Component/MessageQueue/Storage/Memory.pm
Criterion Covered Total %
condition 19 24 79.1


and 3 conditions

line !l l&&!r l&&r condition
88 10200 1 1 $msg->has_delay and $current_time < $msg->deliver_at
401 1056 8744 $oldest and $oldest->timestamp < $msg->timestamp
105 1 11 188 $oldest and $oldest->timestamp < $msg->timestamp
174 199 0 1 $m->claimed and $m->claimant eq $client_id

or 2 conditions

line l !l condition
33 196 5 $self->messages->{$destination} ||= []
84 410 0 $self->messages->{$destination} || []
163 400 0 $self->messages->{$destination} || []

or 3 conditions

line l !l&&r !l&&!r condition
88 10200 0 10202 $msg->claimed or $msg->has_delay and $current_time < $msg->deliver_at
1 0 10201 $msg->claimed or $msg->has_delay and $current_time < $msg->deliver_at or $oldest and $oldest->timestamp < $msg->timestamp