wikimedia/mediawiki-core

View on GitHub
maintenance/benchmarks/benchmarkCommentFormatter.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

    public function execute() {
        $file = $this->getOption( 'file',
            __DIR__ . '/data/CommentFormatter/rc100-2021-07-29.json' );
        $json = file_get_contents( $file );
        if ( !$json ) {
Severity: Major
Found in maintenance/benchmarks/benchmarkCommentFormatter.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status