Branch Coverage

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


line true false branch
111 0 0 defined $_ ? :
119 0 0 if ($protocol eq 'tcp') { }
125 0 0 unless $protocol eq 'udp'
132 0 0 if ($strict_udp)
133 0 0 unless $socket
171 0 0 unless ($response->is_success)
228 0 0 unless $query
229 0 0 unless $epoch =~ /^(h|m|s|ms|u|ns)$/
231 0 0 if (ref $query eq 'ARRAY')
237 0 0 $database ? :
0 0 $chunk_size ? :
0 0 $epoch ? :
248 0 0 if ($response->is_success) { }
253 0 0 if ($data)
257 0 0 unless ($error)
313 0 0 unless $measurement
314 0 0 unless $database
315 0 0 if $precision and not $precision =~ /^(h|m|s|ms|u|ns)$/
317 0 0 if (ref $measurement eq 'ARRAY')
321 0 0 if ($self->{'protocol'} eq 'tcp') { }
324 0 0 $precision ? :
0 0 $retention_policy ? :
333 0 0 if ($response->code != 204)
337 0 0 if not $error and $data
351 0 0 $self->{'udp'} ? :
354 0 0 $bytes ? :
419 0 0 unless $endpoint
436 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+)?$/) { }
467 0 0 unless defined $v