Branch Coverage

blib/lib/Rethinkdb/IO.pm
Criterion Covered Total %
branch 0 76 0.0


line true false branch
24 0 0 unless $self->{'_handle'} = 'IO::Socket::INET'->new('PeerHost', $self->host, 'PeerPort', $self->port, 'Reuse', 1, 'Timeout', $self->timeout)
51 0 0 if ($response =~ /^ERROR/)
62 0 0 ref $_[0] ? :
64 0 0 if ($self->_handle)
65 0 0 unless (defined $args->{'noreply_wait'} and $args->{'noreply_wait'})
80 0 0 ref $_[0] ? :
123 0 0 if (ref $callback eq 'CODE')
128 0 0 unless ($args->{'db'})
141 0 0 if ($data->{'type'} == 1) { }
161 0 0 if ($json->{'db'})
174 0 0 if (ref $data eq 'Rethinkdb::_True') { }
0 0 elsif (ref $data eq 'Rethinkdb::_False') { }
189 0 0 if ($data->{'datum'})
191 0 0 if (defined $data->{'datum'}{'r_bool'}) { }
0 0 elsif (defined $data->{'datum'}{'type'} and $data->{'datum'}{'type'} == $self->_protocol->datum->datumType->r_null) { }
192 0 0 if ($data->{'datum'}{'r_bool'}) { }
206 0 0 if ($_ ne 'type')
213 0 0 if ($data->{'type'})
217 0 0 if ($data->{'query'})
221 0 0 if ($data->{'args'})
230 0 0 if ($data->{'optargs'} and ref $data->{'optargs'} eq 'HASH') { }
0 0 elsif ($data->{'optargs'}) { }
239 0 0 if ($data->{'type'} == $self->_protocol->term->termType->make_obj)
264 0 0 if (ref $data eq 'ARRAY') { }
0 0 elsif (ref $data eq 'HASH') { }
287 0 0 if (ref $data eq 'JSON::PP::Boolean') { }
0 0 elsif (ref $data eq 'ARRAY') { }
0 0 elsif (ref $data eq 'HASH') { }
288 0 0 if ($data) { }
313 0 0 if ($ENV{'RDB_DEBUG'})
327 0 0 if ($ENV{'RDB_DEBUG'})
336 0 0 if ($args->{'noreply'})
360 0 0 if ($res_data->{'t'} == 3 or $res_data->{'t'} == 5)
361 0 0 if ($self->_callbacks->{$token}) { }
364 0 0 if ($ENV{'RDB_DEBUG'})
381 0 0 if ($ENV{'RDB_DEBUG'})
402 0 0 if ($ENV{'RDB_DEBUG'})
409 0 0 if ($self->_callbacks->{$token})