Branch Coverage

blib/lib/ClickHouse.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
53 0 0 if (exists $_attrs{$name}) { }
67 0 0 if (defined $args{$key} and $self->_accessible("_$key")) { }
91 0 0 unless my $socket = 'Net::HTTP'->new('Host', $self->{'_host'}, 'PeerPort', $self->{'_port'}, 'HTTPVersion', '1.1', 'KeepAlive', $self->{'_keep_alive'})
97 0 0 if $self->{'_user'}
98 0 0 if $self->{'_password'}
128 0 0 if ($AUTOLOAD =~ /.*::_get(_\w+)/ and $self->_accessible($1))
133 0 0 if ($AUTOLOAD =~ /.*::_set(_\w+)/ and $self->_accessible($1))
161 0 0 if (length $query <= 7000) { }
189 0 0 scalar @prepared_rows ? :
205 0 0 if ($@)
208 0 0 unless ($code == 200)
212 0 0 unless ($result->[0] eq 'Ok.')
221 0 0 if ($code == 200) { }
226 0 0 if (defined $add_mess)
239 0 0 unless defined $n
240 0 0 unless $n
243 0 0 substr($buf, -1) eq "\n" ? :
245 0 0 if $chunk
270 0 0 if (ref $value eq 'HASH')
274 0 0 unless (defined $value)
277 0 0 if (ref $value eq 'ARRAY')
280 0 0 if (defined $value and not &looks_like_number($value))
291 0 0 if ($type eq 'NULL') { }
0 0 elsif ($type eq 'STRING') { }
0 0 elsif ($type eq 'ARRAY') { }
295 0 0 if utf8::is_utf8($value)