Branch Coverage

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


line true false branch
110 0 0 unless $sasl
119 0 0 if ($sasl == 1) { }
0 0 elsif (&reftype($sasl) eq 'HASH') { }
133 0 0 unless $self->_socket
137 0 0 if $self->sasl and not $self->_sasl
139 0 0 unless ($self->_transport)
141 0 0 if ($self->_sasl) { }
150 0 0 unless $self->_protocol
153 0 0 unless $self->_client
161 0 0 if $self->use_xs
164 0 0 unless (my $protocol = eval { do { require Thrift::XS::BinaryProtocol if $self->use_xs; 'Thrift::XS::BinaryProtocol'->new($self->_transport) } })
167 0 0 unless ref($protocol) =~ /XS/
208 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->_has_session_handle)
500 0 0 if ($self->_transport)
511 0 0 if $meth eq 'DESTROY'
514 0 0 if ($self->_client->can($meth))