Showing 26,336 of 26,336 total issues
The class APCal has 29 public methods. Consider refactoring APCal to keep number of public methods under 10. Open
class APCal
{
// SKELTON (they will be defined in language files)
public $holidays = array();
public $date_short_names = array();
- Read upRead up
- Exclude checks
TooManyPublicMethods
Since: 0.1
A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
Example
Source https://phpmd.org/rules/codesize.html#toomanypublicmethods
The class APCal_xoops has an overall complexity of 146 which is very high. The configured complexity threshold is 50. Open
class APCal_xoops extends APCal
{
/**
* @param $data
* @return mixed
- Exclude checks
The class iCal_parser has 15 public methods. Consider refactoring iCal_parser to keep number of public methods under 10. Open
class iCal_parser
{
public $week_start_day = 'Sunday';
public $timezone = '+0900';
public $events = array();
- Read upRead up
- Exclude checks
TooManyPublicMethods
Since: 0.1
A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
Example
Source https://phpmd.org/rules/codesize.html#toomanypublicmethods
The class iCal_parser has an overall complexity of 109 which is very high. The configured complexity threshold is 50. Open
class iCal_parser
{
public $week_start_day = 'Sunday';
public $timezone = '+0900';
public $events = array();
- Exclude checks
The class phpthumb_bmp has an overall complexity of 131 which is very high. The configured complexity threshold is 50. Open
class phpthumb_bmp
{
// removed for XOOPS
//function phpthumb_bmp() {
- Exclude checks
The class phpthumb_bmp has 15 public methods. Consider refactoring phpthumb_bmp to keep number of public methods under 10. Open
class phpthumb_bmp
{
// removed for XOOPS
//function phpthumb_bmp() {
- Read upRead up
- Exclude checks
TooManyPublicMethods
Since: 0.1
A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
Example
Source https://phpmd.org/rules/codesize.html#toomanypublicmethods
The class phpthumb has 48 non-getter- and setter-methods. Consider refactoring phpthumb to keep number of methods under 25. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- Read upRead up
- Exclude checks
TooManyMethods
Since: 0.1
A class with too many methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
The default was changed from 10 to 25 in PHPMD 2.3.
Example
Source https://phpmd.org/rules/codesize.html#toomanymethods
The class phpthumb has 48 public methods. Consider refactoring phpthumb to keep number of public methods under 10. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- Read upRead up
- Exclude checks
TooManyPublicMethods
Since: 0.1
A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
Example
Source https://phpmd.org/rules/codesize.html#toomanypublicmethods
The class phpthumb has an overall complexity of 1109 which is very high. The configured complexity threshold is 50. Open
class phpthumb
{
// public:
// START PARAMETERS (for object mode and phpThumb.php)
- Exclude checks
The class phpthumb_filters has 37 non-getter- and setter-methods. Consider refactoring phpthumb_filters to keep number of methods under 25. Open
class phpthumb_filters
{
public $phpThumbObject = null;
// removed for XOOPS
- Read upRead up
- Exclude checks
TooManyMethods
Since: 0.1
A class with too many methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
The default was changed from 10 to 25 in PHPMD 2.3.
Example
Source https://phpmd.org/rules/codesize.html#toomanymethods
The class phpthumb_filters has 37 public methods. Consider refactoring phpthumb_filters to keep number of public methods under 10. Open
class phpthumb_filters
{
public $phpThumbObject = null;
// removed for XOOPS
- Read upRead up
- Exclude checks
TooManyPublicMethods
Since: 0.1
A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
Example
Source https://phpmd.org/rules/codesize.html#toomanypublicmethods
The class phpthumb_filters has an overall complexity of 331 which is very high. The configured complexity threshold is 50. Open
class phpthumb_filters
{
public $phpThumbObject = null;
// removed for XOOPS
- Exclude checks
The class phpthumb_functions has 41 public methods. Consider refactoring phpthumb_functions to keep number of public methods under 10. Open
class phpthumb_functions
{
/**
* @param $functionname
- Read upRead up
- Exclude checks
TooManyPublicMethods
Since: 0.1
A class with too many public methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
Example
Source https://phpmd.org/rules/codesize.html#toomanypublicmethods
The class phpthumb_functions has 41 non-getter- and setter-methods. Consider refactoring phpthumb_functions to keep number of methods under 25. Open
class phpthumb_functions
{
/**
* @param $functionname
- Read upRead up
- Exclude checks
TooManyMethods
Since: 0.1
A class with too many methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.
By default it ignores methods starting with 'get' or 'set'.
The default was changed from 10 to 25 in PHPMD 2.3.
Example
Source https://phpmd.org/rules/codesize.html#toomanymethods
The class phpthumb_functions has an overall complexity of 217 which is very high. The configured complexity threshold is 50. Open
class phpthumb_functions
{
/**
* @param $functionname
- Exclude checks
The class CGIF has an overall complexity of 67 which is very high. The configured complexity threshold is 50. Open
class CGIF
{
public $m_gfh;
public $m_lpData;
public $m_img;
- Exclude checks
File myblocksadmin2.php
has 305 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
// ------------------------------------------------------------------------- //
// myblocksadmin_for_2.2.php //
// - XOOPS block admin for each modules - //
// GIJOE <http://www.peak.ne.jp/> //
Method ImageCreateFromFilename
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function ImageCreateFromFilename($filename)
{
// try to create GD image source directly via GD, if possible,
// rather than buffering to memory and creating with ImageCreateFromString
$ImageCreateWasAttempted = false;
Method WatermarkOverlay
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function WatermarkOverlay(
&$gdimg_dest,
&$img_watermark,
$alignment = '*',
$opacity = 50,
File events.php
has 304 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*
* You may not change or alter any portion of this comment or credits
* of supporting developers from this source code or any supporting source code
* which is considered copyrighted (c) material of the original comment or credit authors.