wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub
includes/Search/InterleavedResultSet.php

Summary

Maintainability
A
3 hrs
Test Coverage

InterleavedResultSet has 24 functions (exceeds 20 allowed). Consider refactoring.
Open

class InterleavedResultSet extends BaseSearchResultSet implements CirrusSearchResultSet, SearchMetricsProvider {
    use SearchResultSetTrait;

    /** @var string[] Doc ID's belonging to team A */
    private $teamA;
Severity: Minor
Found in includes/Search/InterleavedResultSet.php - About 2 hrs to fix

    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            CirrusSearchResultSet $nested,
            array $interleaved,
            array $teamA,
            array $teamB,
            $offset
    Severity: Minor
    Found in includes/Search/InterleavedResultSet.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status