Branch Coverage

lib/DR/Tnt/FullCb.pm
Criterion Covered Total %
branch 0 126 0.0


line true false branch
109 0 0 if ($self->lua_dir)
121 0 0 unless (@{$self->_unsent_lua;})
130 0 0 if (open my $fh, '<:raw', $lua) { }
135 0 0 unless ($state eq 'OK')
144 0 0 unless ($state eq 'OK')
150 0 0 unless ($resp->{'CODE'} == 0)
193 0 0 unless ($state eq 'OK')
202 0 0 unless ($state eq 'OK')
211 0 0 if ($resp->{'CODE'} == 32823) { }
0 0 elsif ($resp->{'CODE'}) { }
228 0 0 unless ($state eq 'OK')
238 0 0 unless ($state eq 'OK')
245 0 0 if ($resp->{'CODE'} == 32823) { }
0 0 elsif ($resp->{'CODE'} == 32877) { }
0 0 elsif ($resp->{'CODE'}) { }
290 0 0 unless $_->[0] == $space->{'id'}
302 0 0 'HASH' eq ref $_ ? :
321 0 0 unless (defined $space)
326 0 0 unless (exists $self->_sch->{$space})
334 0 0 if ($self->hashify_tuples)
336 0 0 unless 'ARRAY' eq ref $tuple
344 0 0 if (@{$space->{'fields'};} < @$tuple) { }
374 0 0 unless ($state eq 'OK')
383 0 0 unless ($state eq 'OK')
390 0 0 unless ($self->user and $self->password)
396 0 0 unless ($state eq 'OK')
405 0 0 unless ($state eq 'OK')
412 0 0 unless ($resp->{'CODE'} == 0)
431 0 0 if (@_)
433 0 0 unless ('CODE' eq ref $_[-1])
438 0 0 unless @_ == 5
442 0 0 unless @_ >= 5 and @_ <= 8
447 0 0 unless @_ == 4 and 'ARRAY' eq ref $_[2]
451 0 0 unless @_ == 4 and 'ARRAY' eq ref $_[2]
455 0 0 unless @_ == 4
459 0 0 unless @_ >= 3
463 0 0 unless @_ >= 3
469 0 0 unless @_ == 3 or @_ == 5
474 0 0 unless (exists $$check{$_[0] // 'undef'})
492 0 0 if $self->state eq 'ready'
493 0 0 unless (defined $self->reconnect_interval)
503 0 0 if ($self->driver eq 'sync')
504 0 0 if $self->state eq 'ready'
510 0 0 unless defined $self->reconnect_interval
520 0 0 if ($self->driver eq 'sync')
521 0 0 unless defined $self->reconnect_interval
524 0 0 if $pause > 0
527 0 0 unless defined $self->reconnect_interval
541 0 0 unless ($self->state eq 'ready')
563 0 0 unless exists $space_pos->{$name}
569 0 0 unless (exists $self->_sch->{$space})
577 0 0 unless (exists $self->_sch->{$space}{'indexes'}{$index})
590 0 0 unless (exists $self->_sch->{$space})
599 0 0 if ('ARRAY' eq ref $args[0])
602 0 0 unless defined $space
603 0 0 unless (exists $self->_sch->{$space})
618 0 0 unless ($state eq 'OK')
627 0 0 unless ($state eq 'OK')
635 0 0 if ($resp->{'CODE'} == 32877)
639 0 0 if $self->state eq 'ready'
643 0 0 unless ($resp->{'CODE'} == 0)
651 0 0 if ($resp->{'SCHEMA_ID'} != $self->last_schema)
665 0 0 if $self->driver eq 'sync'