Condition Coverage

blib/lib/InfluxDB/Client.pm
Criterion Covered Total %
condition 0 39 0.0


and 3 conditions

line !l l&&!r l&&r condition
27 0 0 0 ref $url and ref $url ne 'ARRAY'
35 0 0 0 $uri and $uri->has_recognized_scheme
0 0 0 $uri and $uri->has_recognized_scheme and $uri->scheme =~ /^https*$/
40 0 0 0 ref $opts and ref $opts eq 'HASH'
50 0 0 0 $args{'username'} and not $args{'password'}
52 0 0 0 $args{'password'} and not $args{'username'}
142 0 0 0 ref $args{'data'} and ref $args{'data'} eq 'ARRAY'
147 0 0 0 ref $args{'data'}[0] and ref $args{'data'}[0] eq 'InfluxDB::Client::DataSet'
241 0 0 0 $resp->code >= 500 and $resp->code < 600

or 2 conditions

line l !l condition
25 0 0 $args{'url'} || 'http://localhost:8086'
39 0 0 $args{'ua_opts'} // {}
46 0 0 $opts->{'timeout'} //= 10

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 0 $opts->{'agent'} //= sprintf('perl-InfluxDB-Client/%f', $VERSION)
241 0 0 0 $resp->code == 408 or $resp->code >= 500 and $resp->code < 600