Branch Coverage

blib/lib/Net/Prometheus.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
124 4 5 if (not $args{'disable_process_collector'} and my $process_collector = 'Net::Prometheus::ProcessCollector'->new)
129 4 5 unless ($args{'disable_perl_collector'})
307 1 91 @results > 1 ? :
341 74 55 unless scalar @$labels
427 0 1 unless $request->method eq 'GET'
434 0 1 if length $request->uri->query
478 0 1 unless $method eq 'GET'
485 0 1 if (defined $env->{'QUERY_STRING'})