Branch Coverage

blib/lib/Gearman/Objects.pm
Criterion Covered Total %
branch 36 46 78.2


line true false branch
43 10 14 unless (XXX)
50 6 18 if $opts{'job_servers'}
70 1 9 if @_
72 9 1 wantarray ? :
105 8 4 if (XXX) { }
106 4 4 if (XXX) { }
4 0 elsif (XXX) { }
122 5 6 if (XXX) { }
2 4 elsif (not $i =~ /:/) { }
172 0 3 unless (XXX)
184 2 1 if ($js->{'use_ssl'})
187 6 0 unless $js->{$_}
192 2 1 if $js->{'socket_cb'}
195 2 1 unless ($s)
198 0 0 $js->{'use_ssl'} ? :
0 2 if $self->debug
213 0 0 unless setsockopt $sock, 6, 1, "\cA\000\000\000"
225 3 2 if ($sock)
231 1 4 $delete ? :
240 0 65 unless $name
241 52 13 if (@_)
254 6 4 XXX ? :
266 0 1 $i == -1 || $i > $#s ? :