Condition Coverage

blib/lib/Gearman/Server.pm
Criterion Covered Total %
condition 7 26 26.9


and 3 conditions

line !l l&&!r l&&r condition
142 0 1 1 $wakeup < 0 and $wakeup != -1
149 0 1 1 $wakeup_delay < 0 and $wakeup_delay != -1
538 0 0 2 defined $max and length $max
0 1 1 defined $max and length $max and $max > 0
595 0 0 0 $c and not $c->{'closed'}

or 2 conditions

line l !l condition
344 0 0 $self->{'job_queue'}{$job->{'func'}} ||= []
448 0 0 $self->{'sleepers'}{$cd} ||= {}
453 0 0 $self->{'sleepers_list'}{$cd} ||= []
571 0 0 $self->{'job_of_uniq'}{$func} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
416 0 0 0 $c->{'closed'} or not $c->{'sleeping'}