Branch Coverage

blib/lib/Mojolicious/Plugin/PrometheusTiny.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
14 1 5 if (my $update = $config->{'update'})
21 1 5 if (my $setup = $config->{'setup'})
30 0 7 if (my $update = $self->update_metrics)
40 7 203 if $c->req->url->path eq $endpoint
45 203 0 $config->{'worker_label'} ? :
203 0 $config->{'method_label'} ? :
52 7 203 if $c->req->url->path eq $endpoint
56 203 0 $config->{'worker_label'} ? :
203 0 $config->{'method_label'} ? :
64 7 203 if $c->req->url->path eq $endpoint
66 203 0 $config->{'worker_label'} ? :
73 203 0 $config->{'worker_label'} ? :
203 0 $config->{'method_label'} ? :