Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
A | PrometheusExporterServiceProvider::registerAdapter() | 0 | 16 | 5 | 5 | 0 | 0 | 0 |
A | RequestPerRoute::requestLatencyMetric() | 0 | 15 | 2 | 6 | 1 | 0 | 0 |
A | RequestPerRoute::requestCountMetric() | 0 | 10 | 1 | 1 | 1 | 0 | 0 |
A | Middleware\RequestPerRoute::handle() | 0 | 9 | 1 | 1.01 | 2 | 0 | 0 |
A | Controller\LumenController::metrics() | 0 | 4 | 1 | ? | 1 | 0 | 0 |
A | PrometheusExporterServiceProvider::bootConfig() | 0 | 8 | 3 | 3.14 | 0 | 0 | 0 |
A | PrometheusExporter::incByGauge() | 0 | 7 | 2 | 6 | 1 | 0 | 0 |
A | PrometheusExporter::getNamespace() | 0 | 3 | 2 | 2 | 0 | 0 | 0 |
A | Controller\LumenController::__construct() | 0 | 1 | 1 | ? | 1 | 0 | 0 |
A | PrometheusExporterServiceProvider::bootRoutes() | 0 | 2 | 2 | 2 | 0 | 0 | 0 |
A | PrometheusExporter::incCounter() | 0 | 7 | 2 | 2.09 | 1 | 0 | 0 |
A | PrometheusExporter::pushGateway() | 0 | 6 | 2 | 6 | 0 | 0 | 0 |
A | PrometheusExporter::incByCounter() | 0 | 7 | 2 | 6 | 1 | 0 | 0 |
A | Middleware\RequestPerRoute::__construct() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | PrometheusExporterServiceProvider::boot() | 0 | 2 | 1 | 1 | 4 | 0 | 0 |