Code

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 PrometheusExporter::pushGateway() 0 6 2 6 0 0 0
A PrometheusExporter::incCounter() 0 7 2 2.09 1 0 0
A PrometheusExporter::incByCounter() 0 7 2 6 1 0 0
A Middleware\RequestPerRoute::__construct() 0 1 1 1 1 0 0
A PrometheusExporter::getMetricFamilySamples() 0 1 1 1 0 0 0
A PrometheusExporterServiceProvider::boot() 0 2 1 1 4 0 0
A PrometheusExporter\PrometheusExporter::incGauge() 0 7 2 6 1 0 0
A Controller\LaravelController::metrics() 0 4 1 ? 0 0 0
A PrometheusExporter::__construct() 0 1 1 1 0 0 0
A PrometheusExporterServiceProvider::register() 0 7 1 1 6 0 0
A PrometheusExporter::setHistogram() 0 7 2 6 1 0 0