wikimedia/mediawiki-extensions-Wikibase

View on GitHub
client/includes/Notifications/PageConnectionPresentationModel.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function getSecondaryLinks() {
        $ret = [];

        if ( $this->getBundleCount( true, [ $this, 'callbackForBundleCount' ] ) === 1 ) {
            $ret[] = $this->getAgentLink();
Severity: Minor
Found in client/includes/Notifications/PageConnectionPresentationModel.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status