Showing 573 of 5,122 total issues
Method __construct
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct()
{
parent::__construct();
/** @var Helper $helper */
$this->helper = Helper::getInstance();
Function set
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
set: function( elem, value, extra ) {
var matches,
styles = getStyles( elem ),
// Only read styles.position if the test has a chance to fail
Function speed
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.speed = function( speed, easing, fn ) {
var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
complete: fn || !fn && easing ||
isFunction( speed ) && speed,
duration: speed,
Function removeClass
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( isFunction( value ) ) {
Function operators
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
operators: function( c, data ) {
// ignore empty strings... because '' < 10 is true
if ( tsfRegex.operTest.test( data.iFilter ) && data.iExact !== '' ) {
var cachedValue, result, txt,
table = c.table,
Function filterInitComplete
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
filterInitComplete: function( c ) {
var indx, len,
wo = c.widgetOptions,
count = 0,
completed = function() {
Function detectParserForColumn
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
detectParserForColumn : function( c, rows, rowIndex, cellIndex ) {
var cur, $node, row,
indx = ts.parsers.length,
node = false,
nodeValue = '',
Function operators
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
operators: function( c, data ) {
// ignore empty strings... because '' < 10 is true
if ( tsfRegex.operTest.test( data.iFilter ) && data.iExact !== '' ) {
var cachedValue, result, txt,
table = c.table,
Function filterInitComplete
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
filterInitComplete: function( c ) {
var indx, len,
wo = c.widgetOptions,
count = 0,
completed = function() {
Function detectParserForColumn
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
detectParserForColumn : function( c, rows, rowIndex, cellIndex ) {
var cur, $node, row,
indx = ts.parsers.length,
node = false,
nodeValue = '',
Method listingModPrice
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function listingModPrice($id_price): void
{
global $xoopsDB, $myts;
// require_once __DIR__ . '/admin_header.php';
Method listingAddPrice
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function listingAddPrice(string $nom_price): void
{
global $xoopsDB, $xoopsConfig, $myts, $admin_lang;
$helper = Helper::getInstance();
$sql = 'SELECT COUNT(*) FROM ' . $xoopsDB->prefix('adslight_price') . " WHERE nom_price='{$nom_price}'";
Method listingAddType
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function listingAddType($type): void
{
global $xoopsDB, $xoopsConfig, $myts, $admin_lang;
$helper = Helper::getInstance();
Function attr
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
attr: function( elem, name, value ) {
var ret, hooks,
nType = elem.nodeType;
// Don't get/set attributes on text, comment and attribute nodes
Function mouseMove
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
mouseMove : function( c, wo, event ) {
if ( wo.resizable_vars.mouseXPosition === 0 || !wo.resizable_vars.$target ) { return; }
// resize columns
var column,
total = 0,
Function mouseMove
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
mouseMove : function( c, wo, event ) {
if ( wo.resizable_vars.mouseXPosition === 0 || !wo.resizable_vars.$target ) { return; }
// resize columns
var column,
total = 0,
Method listingDel
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function listingDel($lid, $photo): void
{
global $xoopsDB, $admin_lang;
$helper = Helper::getInstance();
Method listingModType
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function listingModType($id_type): void
{
global $xoopsDB, $xoopsConfig, $myts, $admin_lang;
// require_once __DIR__ . '/admin_header.php';
xoops_cp_header();
Method listingDel
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function listingDel($lid, $photo): void
{
global $xoopsDB, $admin_lang;
$helper = Helper::getInstance();
$lid = (int)$lid;
Method listingModcondition
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function listingModcondition($id_condition): void
{
global $xoopsDB, $myts;
// require_once __DIR__ . '/admin_header.php';