Condition Coverage

blib/lib/POE/Component/JobQueue.pm
Criterion Covered Total %
condition 19 44 43.1


and 3 conditions

line !l l&&!r l&&r condition
31 0 0 2 defined $alias and length $alias
34 0 0 2 defined $worker and ref $worker eq 'CODE'
38 0 0 2 defined $worker_limit and $worker_limit > 0
59 1 0 0 defined $poll_interval and $poll_interval > 0
63 0 0 1 defined $ack_alias and length $ack_alias
66 0 0 1 defined $ack_state and length $ack_state
233 7 0 0 defined $is_timed and $is_timed == 31415
241 0 6 11 not $$heap{'stopped'} and $$heap{'worker_count'} < $$heap{'worker_limit'}
253 1 0 0 defined $$heap{'poll_interval'} and not $$heap{'pending_polls'}
269 0 15 15 not $$heap{'stopped'} and $$heap{'worker_count'} < $$heap{'worker_limit'}

or 3 conditions

line l !l&&r !l&&!r condition
183 0 20 20 $operation eq 'gain' or $operation eq 'create'
197 4 0 16 $$heap{'latest_worker'} or $$heap{'stopped'}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
40 0 1 1 0 defined $params{'Active'} xor defined $params{'Passive'}
68 1 0 0 0 defined $ack_alias xor defined $ack_state