Branch Coverage

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


line true false branch
137 0 0 unless $sasl
146 0 0 if ($sasl == 1) { }
0 0 elsif (&reftype($sasl) eq 'HASH') { }
160 0 0 unless $self->_socket
164 0 0 if $self->sasl and not $self->_sasl
166 0 0 unless ($self->_transport)
168 0 0 if ($self->_sasl) { }
176 0 0 unless $self->_protocol
179 0 0 unless $self->_client
187 0 0 if $self->use_xs
190 0 0 unless (my $protocol = eval { do { require Thrift::XS::BinaryProtocol if $self->use_xs; 'Thrift::XS::BinaryProtocol'->new($self->_transport) } })
193 0 0 unless ref($protocol) =~ /XS/
228 0 0 unless $self->_transport->isOpen
284 0 0 if ($self->_operation_handle)
306 0 0 if ($rh->{'status'}{'errorCode'})
333 0 0 if $rh and not $rows_at_a_time and $rh =~ /^[1-9][0-9]*$/
350 0 0 if (ref $rh eq 'Thrift::API::HiveClient2::TFetchResultsResp')
356 0 0 unless $rh->{'results'}{'rows'}
359 0 0 unless $column_keys->{$cached_rh}
0 0 unless (@{[] unless $column_keys->{$cached_rh};})
362 0 0 if ($use_hashref)
369 0 0 unless $rh_meta->{'schema'}{'columns'}
374 0 0 unless $row->{'colVals'}
399 0 0 if ($use_hashref) { }
407 0 0 @$result ? :
0 0 wantarray ? :
419 0 0 unless $table
435 0 0 if ($rh->{'status'}{'errorCode'})
472 0 0 if ($rh->{'status'}{'errorCode'})
492 0 0 if ($self->_session_handle)
508 0 0 if $meth eq 'DESTROY'
511 0 0 if ($self->_client->can($meth))