mariuz/firebirdwebadmin

View on GitHub
inc/firebird.inc.php

Summary

Maintainability
B
5 hrs
Test Coverage

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

function get_preset_charsets($server_family = null, $server_version = null)
{
    $charsets = array('ASCII',
                      'BIG_5',
                      'CYRL',
Severity: Major
Found in inc/firebird.inc.php - About 2 hrs to fix

    Method get_reserved_words has 46 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function get_reserved_words($server_family, $server_version)
    {
        $reserved_words =
            array('ACTION', 'ACTIVE', 'ADD', 'ADMIN', 'AFTER', 'ALL', 'ALTER', 'AND', 'ANY',
                  'AS', 'ASC', 'ASCENDING', 'AT', 'AUTO', 'AUTODLL', 'AVG', 'BASED', 'BASENAME',
    Severity: Minor
    Found in inc/firebird.inc.php - About 1 hr to fix

      Method get_system_tables has 34 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function get_system_tables($server_family, $server_version)
      {
          $system_tables =
              array('RDB$CHARACTER_SETS',
                    'RDB$CHECK_CONSTRAINTS',
      Severity: Minor
      Found in inc/firebird.inc.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status