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
283 0 0 if ($self->_operation_handle)
305 0 0 if ($rh->{'status'}{'errorCode'})
332 0 0 if $rh and not $rows_at_a_time and $rh =~ /^[1-9][0-9]*$/
349 0 0 if (ref $rh eq 'Thrift::API::HiveClient2::TFetchResultsResp')
355 0 0 unless $rh->{'results'}{'rows'}
358 0 0 unless $column_keys->{$cached_rh}
0 0 unless (@{[] unless $column_keys->{$cached_rh};})
361 0 0 if ($use_hashref)
368 0 0 unless $rh_meta->{'schema'}{'columns'}
373 0 0 unless $row->{'colVals'}
398 0 0 if ($use_hashref) { }
406 0 0 @$result ? :
0 0 wantarray ? :
418 0 0 unless $table
434 0 0 if ($rh->{'status'}{'errorCode'})
471 0 0 if ($rh->{'status'}{'errorCode'})
491 0 0 if ($self->_session_handle)
499 0 0 if ($self->_transport)
510 0 0 if $meth eq 'DESTROY'
513 0 0 if ($self->_client->can($meth))