| blib/lib/Mojolicious/Plugin/Prometheus.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 21 | 76.1 |
| line | l | !l | condition |
|---|---|---|---|
| 88 | 1 | 10 | $config->{'namespace'} // undef |
| 0 | 11 | $config->{'subsystem'} // undef | |
| 99 | 1 | 10 | $config->{'namespace'} // undef |
| 0 | 11 | $config->{'subsystem'} // undef | |
| 110 | 1 | 10 | $config->{'namespace'} // undef |
| 0 | 11 | $config->{'subsystem'} // undef | |
| 120 | 1 | 10 | $config->{'namespace'} // undef |
| 0 | 11 | $config->{'subsystem'} // undef | |
| 156 | 1 | 10 | $config->{'path'} // "/metrics" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 155 | 1 | 10 | 0 | $config->{'route'} // $app->routes->under("/") |