Branch Coverage

blib/lib/HTTP/ClickHouse.pm
Criterion Covered Total %
branch 3 38 7.8


line true false branch
130 0 1 if $self->{'user'}
131 0 1 if $self->{'password'}
140 0 1 unless $self->{'socket'} = 'Net::HTTP::NB'->new('Host', $self->{'host'}, 'PeerPort', $self->{'port'}, 'HTTPVersion', '1.1', 'KeepAlive', $self->{'keep_alive'})
155 0 0 unless $select->can_read($self->{'nb_timeout'})
157 0 0 unless $code
161 0 0 if $code
162 0 0 if ($@)
163 0 0 if $self->{'debug'}
178 0 0 unless $l
179 0 0 if ($_bufer =~ s/([^\n]+\z)//)
197 0 0 if $self->{'debug'}
0 0 if ($t == 0)
204 0 0 if $method eq 'POST'
212 0 0 if ($_status ne '200')
213 0 0 if $self->{'debug'}
214 0 0 if $self->{'debug'}
364 0 0 if ($_status == 200)
366 0 0 if ($body->[0][0] eq 'Ok.')
387 0 0 if $self->{'socket'}