| blib/lib/Mojolicious/Plugin/Prometheus.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 10 | 70.0 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 1 | 9 | if $config->{'prometheus'} |
| 141 | 0 | 18 | unless $server->isa("Mojo::Server::Daemon") |
| 146 | 18 | 0 | if $pc |
| 156 | 0 | 18 | if $server->isa("Mojo::Server::Prefork") |
| 184 | 3 | 54 | unless my $data = +(shift())->{'share'}->fetch |