Showing 3,247 of 4,218 total issues

File sys_locale_translate.data.php has 6233 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

return [
  0 => [
    'var_id' => '1789',
Severity: Major
Found in .dev/install/installer_data/db_tables/sys_locale_translate.data.php - About 2 wks to fix

    File geo_countries.data.php has 4270 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    return [
      0 => [
        'code' => 'AD',
    Severity: Major
    Found in plugins/geo/share/db/data/geo_countries.data.php - About 1 wk to fix

      File geo_cities.data.php has 3864 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      <?php
      
      return [
        613273 => [
          'id' => '613273',
      Severity: Major
      Found in plugins/geo/share/db/data/geo_cities.data.php - About 1 wk to fix

        File sys_locale_vars.data.php has 3616 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        <?php
        
        return [
          124 => [
            'id' => '124',
        Severity: Major
        Found in .dev/install/installer_data/db_tables/sys_locale_vars.data.php - About 1 wk to fix

          File icons.data.php has 2968 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          <?php
          
          return [
              1 => [
                  'id' => '1',
          Severity: Major
          Found in plugins/sys/share/db/data/icons.data.php - About 1 wk to fix

            File geo_lang_to_country.data.php has 2739 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            <?php
            
            return [
              0 => [
                'lang' => 'aa',
            Severity: Major
            Found in plugins/geo/share/db/data/geo_lang_to_country.data.php - About 1 wk to fix

              File yf_form2.class.php has 2621 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              <?php
              
              /**
               * Form2 high-level generator and handler, mostly using bootstrap html/css framework.
               *
              Severity: Major
              Found in plugins/form2/classes/yf_form2.class.php - About 1 wk to fix

                File timezones.data.php has 2535 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                <?php
                
                return [
                    0 => [
                        'name' => 'Africa/Abidjan',
                Severity: Major
                Found in plugins/geo/share/db/data/timezones.data.php - About 1 wk to fix

                  File timezones.php has 2535 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  <?php
                  
                  return [
                    'Pacific/Midway' => [
                      'name' => 'Pacific/Midway',
                  Severity: Major
                  Found in .dev/scripts/timezones/timezones.php - About 1 wk to fix

                    File fontawesome_icons.php has 2375 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    <?php
                    
                    $data = [
                      'fa-adjust' => [
                        'name' => 'fa-adjust',
                    Severity: Major
                    Found in .dev/scripts/fontawesome_icons/fontawesome_icons.php - About 6 days to fix

                      File yf_manage_payout.class.php has 2091 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      <?php
                      
                      class yf_manage_payout
                      {
                          public $IS_PAYOUT_INTERKASSA = null;
                      Severity: Major
                      Found in plugins/payment/admin_modules/yf_manage_payout.class.php - About 5 days to fix

                        File yf_payment_api.class.php has 2049 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        <?php
                        
                        if ( ! function_exists('array_replace_recursive')) {
                            trigger_error('Not exists function "array_replace_recursive ( PHP 5 >= 5.3.0 )"', E_USER_ERROR);
                        }
                        Severity: Major
                        Found in plugins/payment/classes/yf_payment_api.class.php - About 5 days to fix

                          File countries_ru.php has 2011 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          <?php
                          
                          $data = [
                              'AU' => [
                                  'code' => 'AU',
                          Severity: Major
                          Found in .dev/scripts/countries/countries_ru.php - About 5 days to fix

                            File currencies.data.php has 2005 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            <?php
                            
                            return [
                              'AED' => [
                                'id' => 'AED',
                            Severity: Major
                            Found in plugins/sys/share/db/data/currencies.data.php - About 5 days to fix

                              File countries_uk.php has 2003 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              <?php
                              
                              $data = [
                                  'AU' => [
                                      'code' => 'AU',
                              Severity: Major
                              Found in .dev/scripts/countries/countries_uk.php - About 5 days to fix

                                File countries.php has 1995 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                <?php
                                
                                $data = [
                                  'AF' => [
                                    'code' => 'AF',
                                Severity: Major
                                Found in .dev/scripts/countries/countries.php - About 5 days to fix

                                  File yf_assets.class.php has 1901 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  <?php
                                  
                                  // TODO: compare versions with require_php_lib('php_semver')
                                  // TODO: decide with images: jpeg, png, gif, sprites
                                  // TODO: requirejs integration, auto-generate its config with switcher on/off
                                  Severity: Major
                                  Found in plugins/assets/classes/yf_assets.class.php - About 5 days to fix

                                    File yf_payment_test.class.php has 1854 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    <?php
                                    
                                    class yf_payment_test
                                    {
                                        public $api = [
                                    Severity: Major
                                    Found in plugins/payment/modules/yf_payment_test.class.php - About 5 days to fix

                                      File yf_table2.class.php has 1825 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      <?php
                                      
                                      /**
                                       * Table2 high-level generator, mostly using bootstrap html/css framework.
                                       *
                                      Severity: Major
                                      Found in plugins/table2/classes/yf_table2.class.php - About 4 days to fix

                                        File currencies.php has 1823 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        <?php
                                        
                                        $data = [
                                          'AFN' => [
                                            'id' => 'AFN',
                                        Severity: Major
                                        Found in .dev/scripts/currencies/currencies.php - About 4 days to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language