line |
true |
false |
branch |
32
|
37 |
21 |
defined $config->{'metric_connection'} ? :
|
|
0 |
58 |
defined $config->{'metric_port'} ? :
|
47
|
0 |
9867 |
unless defined $exception
|
48
|
271 |
9596 |
unless defined $self->{'handler'}
|
55
|
9596 |
63 |
if (defined $self->{'handler'}) { }
|
|
63 |
0 |
elsif ($priority == 7) { }
|
|
0 |
0 |
elsif ($priority == 6 or $priority == 5) { }
|
75
|
24348 |
37 |
if (exists $self->{'metric_tempfile'}) { }
|
79
|
0 |
37 |
if (defined $config->{'metric_tempfile'})
|
82
|
37 |
0 |
unless ($metric_tempfile)
|
90
|
4 |
24381 |
unless (-e $metric_tempfile)
|
93
|
4 |
24381 |
unless (-d $metric_tempfile)
|
99
|
37 |
24348 |
unless ($prom)
|
100
|
0 |
37 |
if (-f $metric_tempfile)
|
103
|
4 |
33 |
unless (-d $metric_tempfile)
|
109
|
37 |
0 |
if ($prom) { }
|
128
|
0 |
26 |
unless $self->{'enabled'}
|
129
|
0 |
26 |
unless $self->prom
|
133
|
26 |
234 |
if $Handler eq "_Handler"
|
152
|
71 |
59402 |
if ($text eq "")
|
161
|
3218 |
9567 |
unless $self->{'enabled'}
|
162
|
0 |
9567 |
unless $self->prom
|
169
|
0 |
9567 |
unless defined $count
|
174
|
9567 |
0 |
if ($labels)
|
191
|
0 |
29 |
unless $self->{'enabled'}
|
192
|
0 |
29 |
unless $self->prom
|
199
|
0 |
29 |
unless defined $value
|
204
|
29 |
0 |
if ($labels)
|
226
|
44 |
444 |
unless $self->{'enabled'}
|
227
|
0 |
444 |
unless $self->prom
|
235
|
0 |
39 |
unless $self->{'enabled'}
|
236
|
0 |
39 |
unless $self->prom
|
244
|
0 |
896 |
unless $self->{'enabled'}
|
245
|
0 |
896 |
unless $self->prom
|
251
|
142 |
1210 |
if (ref $data eq 'HASH') { }
|
266
|
0 |
260 |
unless $self->{'enabled'}
|
267
|
0 |
260 |
unless $self->prom
|
279
|
0 |
11 |
unless $self->{'enabled'}
|
295
|
0 |
11 |
unless (defined $req and $req =~ m[ ^\s*(GET|POST|PUT|DELETE|PUSH|HEAD|OPTIONS)\s+(.+)\s+(HTTP/1\.[01])\s*$ ]iux)
|
306
|
0 |
11 |
if ($request_method ne "GET")
|
316
|
11 |
0 |
if $req eq ""
|
319
|
11 |
0 |
if ($request_uri eq '/metrics') { }
|
|
0 |
0 |
elsif ($request_uri eq '/') { }
|
|
0 |
0 |
elsif ($request_uri eq '/config/json' or $request_uri eq '/config') { }
|
|
0 |
0 |
elsif ($request_uri eq '/config/toml') { }
|
|
0 |
0 |
elsif ($request_uri eq '/grafana') { }
|
320
|
11 |
0 |
if ($self->prom)
|
328
|
11 |
0 |
if ($self->prom) { }
|
361
|
0 |
0 |
if $Handler eq "_Handler"
|
386
|
0 |
0 |
unless $config->{'metric_basic_http'}
|
394
|
0 |
0 |
unless $config->{'metric_basic_http'}
|
405
|
0 |
0 |
if ($config->{'metric_basic_http'}) { }
|
420
|
0 |
0 |
if ($config->{'metric_basic_http'}) { }
|
434
|
0 |
0 |
if ($config->{'metric_basic_http'}) { }
|
450
|
0 |
0 |
if ($result) { }
|