Showing 2,378 of 15,774 total issues
File jquery-ui.custom.js
has 12461 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*! jQuery UI - v1.11.1 - 2014-09-21
* http://jqueryui.com
* Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, sortable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs.js, tooltip.js, effect.js, effect-blind.js, effect-bounce.js, effect-clip.js, effect-drop.js, effect-explode.js, effect-fade.js, effect-fold.js, effect-highlight.js, effect-puff.js, effect-pulsate.js, effect-scale.js, effect-shake.js, effect-size.js, effect-slide.js, effect-transfer.js
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
File jquery.js
has 6829 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*!
* jQuery JavaScript Library v1.11.1
* http://jquery.com/
*
* Includes Sizzle.js
Function Sizzle
has 1347 lines of code (exceeds 25 allowed). Consider refactoring. Open
(function( window ) {
var i,
support,
Expr,
File QQuery.class.php
has 1814 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/*
* QQuery.class.php
*
Function TriggerActions
has a Cognitive Complexity of 225 (exceeds 5 allowed). Consider refactoring. Open
protected function TriggerActions($strControlIdOverride = null) {
if (array_key_exists('Qform__FormControl', $_POST)) {
if ($strControlIdOverride) {
$strControlId = $strControlIdOverride;
} else {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function AnalyzeTable
has a Cognitive Complexity of 180 (exceeds 5 allowed). Consider refactoring. Open
protected function AnalyzeTable(QSqlTable $objTable) {
// Setup the Table Object
$objTable->OwnerDbIndex = $this->intDatabaseIndex;
$strTableName = $objTable->Name;
$objTable->ClassName = $this->ModelClassName($strTableName);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File QControlBase.class.php
has 1201 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* QControlBase is the base class of all QControls and shares their common properties.
*
* Not every control will utilize every single one of these properties.
File QDataGridLegacyBase.class.php
has 1026 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file contains the QDataGridBase and QDataGridRow class.
*
* @package Controls
File QDatabaseCodeGen.class.php
has 1020 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
require(__QCUBED_CORE__ . '/codegen/QSqlColumn.class.php');
require(__QCUBED_CORE__ . '/codegen/QIndex.class.php');
require(__QCUBED_CORE__ . '/codegen/QManyToManyReference.class.php');
require(__QCUBED_CORE__ . '/codegen/QReference.class.php');
File QFormBase.class.php
has 1008 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file contains the QFormBase class.
*
* @package Controls
Function Send
has a Cognitive Complexity of 121 (exceeds 5 allowed). Consider refactoring. Open
public static function Send(QEmailMessage $objMessage) {
$objResource = null;
if (QEmailServer::$TestMode) {
// Open up a File Resource to the TestModeDirectory
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function Run
has a Cognitive Complexity of 120 (exceeds 5 allowed). Consider refactoring. Open
public static function Run($strFormClass, $strAlternateHtmlFile = null, $strFormId = null) {
// See if we can get a Form Class out of PostData
$objClass = null;
if ($strFormId === null) {
$strFormId = $strFormClass;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File QHtmlTableColumn.class.php
has 941 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Represents a column for a QHtmlTable. Different subclasses (see below) allow accessing and fetching the data
* for each cells in a variety of ways
Function ParsePoData
has a Cognitive Complexity of 112 (exceeds 5 allowed). Consider refactoring. Open
protected function ParsePoData($strPoData) {
$strPoData = str_replace("\r", '', trim($strPoData));
$strPoLines = explode("\n", $strPoData);
$strMatches = array();
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File qcubed.js
has 917 lines of code (exceeds 250 allowed). Consider refactoring. Open
// BEWARE: this clears the $ variable!
var $j = jQuery.noConflict(),
qcubed,
qc;
Method __set
has 419 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __set($strName, $mixValue) {
switch ($strName) {
case 'AltField':
$this->mixAltField = $mixValue;
$this->AddAttributeScript($this->getJqSetupFunction(), 'option', 'altField', $mixValue);
Method __set
has 419 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __set($strName, $mixValue) {
switch ($strName) {
case 'AltField':
$this->mixAltField = $mixValue;
$this->AddAttributeScript($this->getJqSetupFunction(), 'option', 'altField', $mixValue);
Function SetupSoapMethods
has a Cognitive Complexity of 97 (exceeds 5 allowed). Consider refactoring. Open
protected function SetupSoapMethods(ReflectionClass $objReflection) {
$objReflectionMethods = $objReflection->getMethods();
if ($objReflectionMethods) foreach ($objReflectionMethods as $objReflectionMethod) {
if ($objReflectionMethod->isPublic() && !$objReflectionMethod->isAbstract() &&
!$objReflectionMethod->isStatic() && !$objReflectionMethod->isConstructor() &&
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __set
has a Cognitive Complexity of 96 (exceeds 5 allowed). Consider refactoring. Open
public function __set($strName, $mixValue) {
switch ($strName) {
case 'AltField':
$this->mixAltField = $mixValue;
$this->AddAttributeScript($this->getJqSetupFunction(), 'option', 'altField', $mixValue);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function __set
has a Cognitive Complexity of 96 (exceeds 5 allowed). Consider refactoring. Open
public function __set($strName, $mixValue) {
switch ($strName) {
case 'AltField':
$this->mixAltField = $mixValue;
$this->AddAttributeScript($this->getJqSetupFunction(), 'option', 'altField', $mixValue);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"