blib/lib/Net/Prometheus.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
125 | 2 | 5 | if (not $args{'disable_process_collector'} and my $process_collector = 'Net::Prometheus::ProcessCollector'->new) |
130 | 0 | 7 | if (not $args{'disable_perl_collector'} and 0) |
308 | 1 | 27 | @results > 1 ? : |
342 | 20 | 7 | unless scalar @$labels |
428 | 0 | 1 | unless $request->method eq 'GET' |
435 | 0 | 1 | if length $request->uri->query |
479 | 0 | 1 | unless $method eq 'GET' |
486 | 0 | 1 | if (defined $env->{'QUERY_STRING'}) |