wikimedia/mediawiki-core

View on GitHub
maintenance/storage/orphanStats.php

Summary

Maintainability
A
1 hr
Test Coverage

Method execute has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function execute() {
        if ( !$this->getDB( DB_PRIMARY )->tableExists( 'blob_orphans', __METHOD__ ) ) {
            $this->fatalError( "blob_orphans doesn't seem to exist, need to run trackBlobs.php first" );
        }
        $dbr = $this->getReplicaDB();
Severity: Minor
Found in maintenance/storage/orphanStats.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status