Branch Coverage

blib/lib/Metrics/Any/Adapter/Prometheus.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
67 3 1 if ref $name eq 'ARRAY'
82 0 1 if (my $units = delete $args{'units'}) { }
84 0 0 unless $name =~ /_\Q$units\E$/
172 7 1 if $min <= $_
187 2 0 unless $name =~ /_\Q$units\E$/
189 2 0 unless ($args{'buckets'})
190 1 1 if $BUCKETS_FOR_UNITS{$units}
192 1 1 if grep {/^bucket/;} keys %args
195 2 0 $self->{'use_histograms'} ? :