Branch Coverage

blib/lib/InfluxDB/Client/Simple.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
115 0 0 defined $_ ? :
123 0 0 if ($protocol eq 'tcp') { }
129 0 0 unless $protocol eq 'udp'
136 0 0 if ($strict_udp)
137 0 0 unless $socket
175 0 0 unless ($response->is_success)
232 0 0 unless $query
233 0 0 unless $epoch =~ /^(h|m|s|ms|u|ns)$/
235 0 0 if (ref $query eq 'ARRAY')
241 0 0 $database ? :
0 0 $chunk_size ? :
0 0 $epoch ? :
252 0 0 if ($response->is_success) { }
257 0 0 if ($data)
261 0 0 unless ($error)
317 0 0 unless $measurement
318 0 0 unless $database
319 0 0 if $precision and not $precision =~ /^(h|m|s|ms|u|ns)$/
321 0 0 if (ref $measurement eq 'ARRAY')
325 0 0 if ($self->{'protocol'} eq 'tcp') { }
328 0 0 $precision ? :
0 0 $retention_policy ? :
337 0 0 if ($response->code != 204)
341 0 0 if not $error and $data
355 0 0 $self->{'udp'} ? :
358 0 0 $bytes ? :
424 0 0 unless $endpoint
441 0 0 if ($v =~ /^(-?\d+)(?:i?)$/) { }
0 0 elsif ($v =~ /^[Ff](?:ALSE|alse)?$/) { }
0 0 elsif ($v =~ /^[Tt](?:RUE|rue)?$/) { }
0 0 elsif ($v =~ /^-?\d+(?:\.\d+)?(?:e(?:-|\+)?\d+)?$/) { }
473 0 0 unless defined $v
493 0 0 if ($timestamp) { }