Showing 4,217 of 4,217 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',
File geo_countries.data.php
has 4270 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
return [
0 => [
'code' => 'AD',
File geo_cities.data.php
has 3864 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
return [
613273 => [
'id' => '613273',
File sys_locale_vars.data.php
has 3616 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
return [
124 => [
'id' => '124',
Identical blocks of code found in 2 locations. Consider refactoring. Open
<?php
return [
'fields' => [
'code' => [
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 1537.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 2 locations. Consider refactoring. Open
<?php
return [
'fields' => [
'code' => [
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 1537.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
File icons.data.php
has 2968 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
return [
1 => [
'id' => '1',
File geo_lang_to_country.data.php
has 2739 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
return [
0 => [
'lang' => 'aa',
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.
*
Similar blocks of code found in 2 locations. Consider refactoring. Open
class sphinx_config
{
public $loaded = false;
public $sections = [];
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 1262.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
class yf_manage_sphinx_config
{
public $loaded = false;
public $sections = [];
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 1262.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
File timezones.data.php
has 2535 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
return [
0 => [
'name' => 'Africa/Abidjan',
File timezones.php
has 2535 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
return [
'Pacific/Midway' => [
'name' => 'Pacific/Midway',
File fontawesome_icons.php
has 2375 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
$data = [
'fa-adjust' => [
'name' => 'fa-adjust',
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;
File yf_payment_api.class.php
has 2054 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);
}
File countries_ru.php
has 2011 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
$data = [
'AU' => [
'code' => 'AU',
File currencies.data.php
has 2005 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
return [
'AED' => [
'id' => 'AED',
File countries_uk.php
has 2003 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
$data = [
'AU' => [
'code' => 'AU',
File countries.php
has 1995 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
$data = [
'AF' => [
'code' => 'AF',