Condition Coverage

blib/lib/Metrics/Any/Adapter/Prometheus.pm
Criterion Covered Total %
condition 16 41 39.0


or 2 conditions

line l !l condition
54 0 1 $args{'use_histograms'} // 1
149 1 0 $args->{'bucket_min'} // 0.001
150 1 0 $args->{'bucket_max'} // 1000
152 0 1 $args->{'buckets_per_decade'} // [1]

or 3 conditions

line l !l&&r !l&&!r condition
79 1 0 0 delete $args{'name'} // $handle
80 0 1 0 delete $args{'description'} // "Metrics::Any counter $handle"
105 1 0 0 $self->{'metrics'}{$handle} || croak("No such counter named '${handle}'")
182 2 0 0 delete $args{'name'} // $handle
184 1 1 0 delete $args{'description'} // "Metrics::Any $units distribution $handle"
214 2 0 0 $self->{'metrics'}{$handle} || croak("No such distribution named '${handle}'")
223 1 0 0 delete $args{'name'} // $handle
224 0 1 0 delete $args{'description'} // "Metrics::Any gauge $handle"
240 1 0 0 $self->{'metrics'}{$handle} || croak("No such gauge named '${handle}'")
249 1 0 0 $self->{'metrics'}{$handle} || croak("No such gauge named '${handle}'")
258 0 1 0 $args{'description'} //= "Metrics::Any timer $handle"