wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub
includes/MultiSearchRequestLog.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getRequests has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getRequests() {
        if ( !$this->request || !$this->response ) {
            // we don't actually know at this point how many searches there were,
            // or how many results to return...so just bail and return nothing
            return [];
Severity: Minor
Found in includes/MultiSearchRequestLog.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status