Branch Coverage

blib/lib/Mojo/Netdata/Collector/HTTP.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
15 3 0 $netdata->update_every >= 10 ? :
0 3 $config->{'update_every'} ? :
18 1 2 if defined $config->{'insecure'}
19 1 2 if defined $config->{'connect_timeout'}
20 1 2 if defined $config->{'request_timeout'}
21 3 0 if $config->{'proxy'} // 1
24 0 3 ref $config->{'jobs'} eq 'HASH' ? :
26 10 3 ref $jobs[0] eq 'HASH' ? :
27 11 2 if $job
30 3 0 @{$self->jobs;} ? :
54 1 12 unless my $host = $url->host
57 9 3 unless $params->{'headers'}
65 1 11 if ($code_chart->dimension($dimension))
87 1 8 exists $params->{'body'} ? :
1 9 exists $params->{'form'} ? :
1 10 exists $params->{'json'} ? :