phpmyadmin/phpmyadmin

View on GitHub
src/Config/Descriptions.php

Summary

Maintainability
F
6 days
Test Coverage

Method getDescriptions has 517 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static function getDescriptions(): array
    {
        /** @var array<string, string> $descriptionsMap */
        static $descriptionsMap = [];

Severity: Major
Found in src/Config/Descriptions.php - About 2 days to fix

    File Descriptions.php has 948 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * Verbose descriptions for settings.
     */
    
    
    Severity: Major
    Found in src/Config/Descriptions.php - About 2 days to fix

      Method getNames has 377 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private static function getNames(): array
          {
              /** @var array<string, string> $namesMap */
              static $namesMap = [];
      
      
      Severity: Major
      Found in src/Config/Descriptions.php - About 1 day to fix

        There are no issues that match your filters.

        Category
        Status