wikimedia/mediawiki-extensions-Wikibase

View on GitHub
client/includes/Store/Sql/UnexpectedUnconnectedPagePrimer.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getUnexpectedUnconnectedBatch has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function getUnexpectedUnconnectedBatch(): array {
        $dbr = $this->localConnectionManager->getReadConnection();

        $lastPosition = $this->position + $this->batchSize * $this->batchSizeSelectMultiplicator;
        $result = $dbr->newSelectQueryBuilder()
Severity: Minor
Found in client/includes/Store/Sql/UnexpectedUnconnectedPagePrimer.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status