Showing 1,065 of 16,781 total issues
Consider simplifying this complex logical expression. Open
Open
if (file_exists($fname = '/etc/sysconfig/i18n')
|| file_exists($fname = '/etc/default/locale')
|| file_exists($fname = '/etc/locale.conf')
|| file_exists($fname = '/etc/sysconfig/language')
|| file_exists($fname = '/etc/profile.d/lang.sh')
Consider simplifying this complex logical expression. Open
Open
if (((in_array($value, array_keys($this->_ids)) && $labels[$j] == 'id') || ($found && (in_array($labels[$j], array_values($this->_ids)))) || ($found && $labels[$j] == 'attribute_name'))) {
$this->_result[$disk][$i][$labels[$j]] = $value;
$found = true;
}
Consider simplifying this complex logical expression. Open
Open
if (file_exists($log_file)
&& ($lsb || $lsbfile || ($strFileName != "/etc/lsb-release"))
&& ($contents = @file_get_contents($log_file))
&& preg_match("/^\-\-\-\-\-\-\-\-\-\-".preg_quote($strFileName, '/')."\-\-\-\-\-\-\-\-\-\-\r?\n/m", $contents)) {
return true;
Consider simplifying this complex logical expression. Open
Open
if (defined('_PHPSYSINFO') && defined('_PHPSECINFO')) {
$break = 4;
} elseif ((defined('_PHPSYSINFO') && !defined('_PHPSECINFO')) || (!defined('_PHPSYSINFO') && defined('_PHPSECINFO'))) {
$break = 3;
} elseif (!defined('_PHPSYSINFO') && !defined('_PHPSECINFO')) {
Consider simplifying this complex logical expression. Open
Open
if (isset($group['devs']) && ($group['devs']>0) &&
(!isset($group['items']) || (count($group['items'])<$group['devs'])) &&
isset($group['subsets']) && ($group['subsets']>0)) for ($i = 0; $i < $group['subsets']; $i++) {
if (isset($this->_result['devices'][$gid."-".$i]['items'][0]['parentid'])) {
foreach ($this->_result['devices'][$gid."-".$i]['items'] as $fid=>$from) {
Function augmentWidthOrHeight
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
Function buildFragment
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function buildFragment( elems, context, scripts, selection, ignored ) {
Function add
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
add: function( elem, types, handler, data, selector ) {
Function remove
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
remove: function( elem, types, handler, selector, mappedTypes ) {
Function superMatcher
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
superMatcher = function( seed, context, xml, results, outermost ) {
Function condense
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function condense( unmatched, map, filter, context, xml ) {
Function CHILD
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
"CHILD": function( type, what, argument, first, last ) {
Function Tween
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function Tween( elem, options, prop, end, easing ) {
Function fnFilter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.fnFilter = function( sInput, iColumn, bRegex, bSmart, bShowGlobal )
Function fnUpdate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
this.fnUpdate = function( mData, mRow, iColumn, bRedraw, bAction )
Function _fnCreateCookie
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _fnCreateCookie ( sName, sValue, iSecs, sBaseName, fnCallback )
Function _fnFilterColumn
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _fnFilterColumn ( oSettings, sInput, iColumn, bRegex, bSmart )
Function _fnFilter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _fnFilter( oSettings, sInput, iForce, bRegex, bSmart )
Method rfts
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function rfts($strFileName, &$strRet, $intLines = 0, $intBytes = 4096, $booErrorRep = true)
Method executeProgram
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static function executeProgram($strProgramname, $strArgs, &$strBuffer, $booErrorRep = true, $timeout = PSI_EXEC_TIMEOUT_INT)