Branch Coverage

blib/lib/Mojo/Netdata/Collector/HTTP.pm
Criterion Covered Total %
branch 31 36 86.1


line true false branch
18 3 0 $netdata->update_every >= 10 ? :
0 3 $config->{'update_every'} ? :
21 1 2 if defined $config->{'insecure'}
22 1 2 if defined $config->{'connect_timeout'}
23 1 2 if defined $config->{'request_timeout'}
24 3 0 if $config->{'proxy'} // 1
28 0 3 ref $config->{'jobs'} eq 'HASH' ? :
30 10 3 ref $jobs[0] eq 'HASH' ? :
31 11 2 if $job
34 3 0 @{$self->jobs;} ? :
55 1 12 unless my $host = $url->host
58 10 2 unless $params->{'headers'}
59 1 11 if $params->{'via'}
67 1 11 if ($code_chart->dimension($dimension))
83 1 8 $err ? :
95 1 8 exists $params->{'body'} ? :
1 9 exists $params->{'form'} ? :
1 10 exists $params->{'json'} ? :