Branch Coverage

blib/lib/Thrift/API/HiveClient2.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
115 0 0 unless $sasl
124 0 0 if ($sasl == 1) { }
0 0 elsif (builtin::reftype($sasl) eq 'HASH') { }
141 0 0 if ($self->use_ssl)
149 0 0 unless $self->_socket
153 0 0 if $self->sasl and not $self->_sasl
155 0 0 unless ($self->_transport)
157 0 0 if ($self->_sasl) { }
166 0 0 unless $self->_protocol
169 0 0 unless $self->_client
177 0 0 if $self->use_xs
180 0 0 unless (my $protocol = eval { do { require Thrift::XS::BinaryProtocol if $self->use_xs; "Thrift::XS::BinaryProtocol"->new($self->_transport) } })
183 0 0 unless ref($protocol) =~ /XS/
224 0 0 unless $self->_transport->isOpen
300 0 0 if ($self->_operation_handle)
322 0 0 if ($rh->{'status'}{'errorCode'})
349 0 0 if $rh and not $rows_at_a_time and $rh =~ /^[1-9][0-9]*$/
366 0 0 if (ref $rh eq "Thrift::API::HiveClient2::TFetchResultsResp")
372 0 0 unless $rh->{'results'}{'rows'}
375 0 0 unless $column_keys->{$cached_rh}
0 0 unless (@{[] unless $column_keys->{$cached_rh};})
378 0 0 if ($use_hashref)
385 0 0 unless $rh_meta->{'schema'}{'columns'}
390 0 0 unless $row->{'colVals'}
415 0 0 if ($use_hashref) { }
423 0 0 @$result ? :
0 0 wantarray ? :
435 0 0 unless $table
451 0 0 if ($rh->{'status'}{'errorCode'})
488 0 0 if ($rh->{'status'}{'errorCode'})
508 0 0 if ($self->_has_session_handle)
516 0 0 if ($self->_transport)
527 0 0 if $meth eq "DESTROY"
530 0 0 if ($self->_client->can($meth))