Branch Coverage

blib/lib/Gearman/Objects.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
35 11 14 unless (ref $self)
45 4 4 ref $opts{'job_servers'} ? :
8 17 if $opts{'job_servers'}
50 2 23 if ($self->use_ssl($opts{'use_ssl'}))
67 2 4 if @_
69 1 5 wantarray ? :
99 5 10 if (ref $_[0]) { }
100 0 5 unless ref $_[0] eq 'ARRAY'
111 0 13 unless $i
114 0 13 unless ($i =~ /:/)
172 1 2 if ($self->use_ssl) { }
174 1 0 if $self->{'ssl_socket_cb'}
181 0 1 $self->use_ssl ? :
1 2 unless $s
196 0 0 unless setsockopt $sock, 6, 1, "\cA\000\000\000"
206 0 99 unless $name
207 81 18 if (@_)